Click or drag to resize
XmlSerializationWriterCreateInvalidEnumValueException Method
Creates an System.InvalidOperationException for an invalid enumeration value.

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