Returns an exception to throw when a conversion cannot be performed.
Protected Function GetConvertToException ( _ value As Object, _ destinationType As Type _ ) As Exception
Dim value As Object Dim destinationType As Type Dim returnValue As Exception returnValue = Me.GetConvertToException(value, _ destinationType)
protected Exception GetConvertToException( Object value, Type destinationType )
protected: Exception^ GetConvertToException( Object^ value, Type^ destinationType )
protected function GetConvertToException( value : Object, destinationType : Type ) : Exception
Automatically thrown by this method.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98