TypeConverter.GetConvertFromException(Object) Метод
Определение
Возвращает исключение, возникающее в случае, если невозможно выполнить преобразование.Returns an exception to throw when a conversion cannot be performed.
protected:
Exception ^ GetConvertFromException(System::Object ^ value);
protected Exception GetConvertFromException (object value);
member this.GetConvertFromException : obj -> Exception
Protected Function GetConvertFromException (value As Object) As Exception
Параметры
- value
- Object
Объект Object для преобразования или null
, если объект отсутствует.The Object to convert, or null
if the object is not available.
Возвращаемое значение
Объект Exception, представляющий исключение, возникающее, если преобразование не может быть выполнено.An Exception that represents the exception to throw when a conversion cannot be performed.
Исключения
Автоматически вызывается этим методом.Automatically thrown by this method.