SecurityTokenHandler.TraceTokenValidationFailure メソッド

定義

トレースが有効であるとき、セキュリティ トークンの検証中、障害イベントをトレースします。

protected:
 void TraceTokenValidationFailure(System::IdentityModel::Tokens::SecurityToken ^ token, System::String ^ errorMessage);
protected void TraceTokenValidationFailure (System.IdentityModel.Tokens.SecurityToken token, string errorMessage);
member this.TraceTokenValidationFailure : System.IdentityModel.Tokens.SecurityToken * string -> unit
Protected Sub TraceTokenValidationFailure (token As SecurityToken, errorMessage As String)

パラメーター

token
SecurityToken

検証されているセキュリティ トークン。

errorMessage
String

トレースに書き込むメッセージ。

注釈

トークンの検証が失敗した場合は、 ValidateToken メソッドからこのメソッドを呼び出す必要があります。

適用対象