TypeConverter.GetConvertFromException(Object) Method

Definition

Returns an exception to throw when a conversion cannot be performed.

protected:
 Exception ^ GetConvertFromException(System::Object ^ value);
protected Exception GetConvertFromException (object value);
protected Exception GetConvertFromException (object? value);
member this.GetConvertFromException : obj -> Exception
Protected Function GetConvertFromException (value As Object) As Exception

Parameters

value
Object

The Object to convert, or null if the object is not available.

Returns

An Exception that represents the exception to throw when a conversion cannot be performed.

Exceptions

Automatically thrown by this method.

Applies to