SynSoft .NET Libraries (release 3rd July 2003)

TypeCastException Properties

The properties of the TypeCastException class are listed below. For a complete list of TypeCastException class members, see the TypeCastException Members topic.

Public Instance Properties

From The type from which cast was attempted
HelpLink (inherited from Exception)Gets or sets a link to the help file associated with this exception.
InnerException (inherited from Exception) Gets the Exception instance that caused the current exception.
Message (inherited from Exception) Gets a message that describes the current exception.
Source (inherited from Exception) Gets or sets the name of the application or the object that causes the error.
StackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
TargetSite (inherited from Exception) Gets the method that throws the current exception.
To The type to which cast was attempted

Protected Instance Properties

HResult (inherited from Exception)Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

See Also

TypeCastException Class | SynSoft.Conversion Namespace