Click or drag to resize
XmlSerializationWriterCreateUnknownTypeException Method (Type)
Creates an System.InvalidOperationException that indicates that a type being serialized is not being used in a valid manner or is unexpectedly encountered.

Namespace: System.Xml.Serialization
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
protected Exception CreateUnknownTypeException(
	Type type
)

Parameters

type
Type: SystemType
The type that cannot be serialized.

Return Value

Type: Exception
The newly created exception.
See Also