XmlSerializationReaderCreateUnknownConstantException Method |
Creates an System.InvalidOperationException that indicates that an enumeration
value is not valid.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax protected Exception CreateUnknownConstantException(
string value,
Type enumType
)
Parameters
- value
- Type: SystemString
The enumeration value that is not valid. - enumType
- Type: SystemType
The enumeration type.
Return Value
Type:
ExceptionAn System.InvalidOperationException exception.
See Also