WSTrustServiceContract.HandleException 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
RequestFailed 이벤트를 발생시키고 필요한 경우 지정된 예외를 FaultException으로 변환합니다. 원래 예외가 FaultException이거나, PreserveOriginalException 플래그가 true로 설정되면 FaultException으로의 변환이 수행되지 않습니다.
protected:
virtual bool HandleException(Exception ^ ex, System::String ^ trustNamespace, System::String ^ action, System::ServiceModel::EnvelopeVersion ^ requestEnvelopeVersion);
protected virtual bool HandleException(Exception ex, string trustNamespace, string action, System.ServiceModel.EnvelopeVersion requestEnvelopeVersion);
abstract member HandleException : Exception * string * string * System.ServiceModel.EnvelopeVersion -> bool
override this.HandleException : Exception * string * string * System.ServiceModel.EnvelopeVersion -> bool
Protected Overridable Function HandleException (ex As Exception, trustNamespace As String, action As String, requestEnvelopeVersion As EnvelopeVersion) As Boolean
매개 변수
- ex
- Exception
원래 예외입니다.
- trustNamespace
- String
현재 WS-Trust 버전의 네임스페이스입니다.
- action
- String
예외를 발생시킨 WS-Trust 동작입니다.
- requestEnvelopeVersion
- EnvelopeVersion
요청 봉투의 SOAP 버전입니다.
반환
Boolean를 반환합니다. 원래 예외가 throw되면 false입니다.