WSTrustServiceContract.HandleException メソッド

定義

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 を返します。 false 元の例外がスローされた場合は > です。

適用対象