ExceptionMapper.FromException 메서드 (Exception, String, String)
Translates the input exception to a fault using the mapping defined in ExceptionMap.
네임스페이스: Microsoft.IdentityModel
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)
사용법
Dim instance As ExceptionMapper Dim ex As Exception Dim soapNamespace As String Dim trustNamespace As String Dim returnValue As FaultException returnValue = instance.FromException(ex, soapNamespace, trustNamespace)
구문
‘선언
Public Overridable Function FromException ( _
ex As Exception, _
soapNamespace As String, _
trustNamespace As String _
) As FaultException
public virtual FaultException FromException (
Exception ex,
string soapNamespace,
string trustNamespace
)
public:
virtual FaultException^ FromException (
Exception^ ex,
String^ soapNamespace,
String^ trustNamespace
)
public FaultException FromException (
Exception ex,
String soapNamespace,
String trustNamespace
)
public function FromException (
ex : Exception,
soapNamespace : String,
trustNamespace : String
) : FaultException
매개 변수
- ex
The exception to be mapped to a fault.
- soapNamespace
The SOAP Namespace to be used when generating the mapped fault.
- trustNamespace
The WS-Trust Namespace to be used when generating the mapped fault.
반환 값
The fault corresponding to the input exception.
예외
예외 유형 | 조건 |
---|
스레드 안전성
이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.
플랫폼
개발 플랫폼
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
참고 항목
참조
ExceptionMapper 클래스
ExceptionMapper 멤버
Microsoft.IdentityModel 네임스페이스