Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TypeConverter.GetConvertFromException Method (Object)

 

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

member GetConvertFromException : 
        value:Object -> Exception

Parameters

value
Type: System.Object

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

Return Value

Type: System.Exception

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

Exception Condition
NotSupportedException

Automatically thrown by this method.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft