NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeConverter.GetConvertFromException

Retrieves a suitable exception to throw when a conversion cannot be performed.

[Visual Basic]
Protected Function GetConvertFromException( _
   ByVal value As Object _
) As Exception
[C#]
protected Exception GetConvertFromException(
   object value
);
[C++]
protected: Exception* GetConvertFromException(
   Object* value
);
[JScript]
protected function GetConvertFromException(
   value : Object
) : Exception;

Parameters

value
The value of the object to be converted, or null if the object isn't available.

See Also

TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace