Click or drag to resize
XmlSerializationReaderCreateUnknownConstantException Method
Creates an System.InvalidOperationException that indicates that an enumeration value is not valid.

Namespace: System.Xml.Serialization
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
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: Exception
An System.InvalidOperationException exception.
See Also