XmlSerializationReader.CreateInvalidCastException Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates an InvalidCastException that indicates that an explicit reference conversion failed.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method CreateInvalidCastException(Type, Object) Creates an InvalidCastException that indicates that an explicit reference conversion failed.
Protected method CreateInvalidCastException(Type, Object, String) Creates an InvalidCastException that indicates that an explicit reference conversion failed.

Top

Remarks

The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the Silverlight XML serialization infrastructure.