XmlSerializationWriterCreateInvalidEnumValueException Method |
Creates an System.InvalidOperationException for an invalid enumeration value.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax protected Exception CreateInvalidEnumValueException(
Object value,
string typeName
)
Parameters
- value
- Type: SystemObject
An object that represents the invalid enumeration. - typeName
- Type: SystemString
The XML type name.
Return Value
Type:
ExceptionThe newly created exception.
See Also