TypeConverter.GetConvertFromException 메서드
변환을 수행할 수 없을 때 throw되는 예외를 반환합니다.
네임스페이스: System.ComponentModel
어셈블리: System(system.dll)
구문
‘선언
Protected Function GetConvertFromException ( _
value As Object _
) As Exception
‘사용 방법
Dim value As Object
Dim returnValue As Exception
returnValue = Me.GetConvertFromException(value)
protected Exception GetConvertFromException (
Object value
)
protected:
Exception^ GetConvertFromException (
Object^ value
)
protected Exception GetConvertFromException (
Object value
)
protected function GetConvertFromException (
value : Object
) : Exception
매개 변수
- value
변환할 Object이거나, 개체를 사용할 수 없는 경우 Null 참조(Visual Basic의 경우 Nothing)입니다.
반환 값
변환을 수행할 수 없을 때 throw되는 예외를 나타내는 Exception입니다.
예외
예외 형식 | 조건 |
---|---|
이 메서드에서 자동으로 throw되는 경우 |
플랫폼
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
2.0, 1.1, 1.0에서 지원
참고 항목
참조
TypeConverter 클래스
TypeConverter 멤버
System.ComponentModel 네임스페이스