WSTrustServiceContract クラス

定義

WS-Trust サービス コントラクトの実装の定義。

public ref class WSTrustServiceContract : System::ServiceModel::Description::IContractBehavior, System::ServiceModel::Description::IWsdlExportExtension, System::ServiceModel::Security::IWSTrust13AsyncContract, System::ServiceModel::Security::IWSTrust13SyncContract, System::ServiceModel::Security::IWSTrustFeb2005AsyncContract, System::ServiceModel::Security::IWSTrustFeb2005SyncContract
[System.ServiceModel.Activation.AspNetCompatibilityRequirements(RequirementsMode=System.ServiceModel.Activation.AspNetCompatibilityRequirementsMode.Allowed)]
[System.ServiceModel.ServiceBehavior(ConcurrencyMode=System.ServiceModel.ConcurrencyMode.Multiple, InstanceContextMode=System.ServiceModel.InstanceContextMode.Single, Name="SecurityTokenService", Namespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice")]
public class WSTrustServiceContract : System.ServiceModel.Description.IContractBehavior, System.ServiceModel.Description.IWsdlExportExtension, System.ServiceModel.Security.IWSTrust13AsyncContract, System.ServiceModel.Security.IWSTrust13SyncContract, System.ServiceModel.Security.IWSTrustFeb2005AsyncContract, System.ServiceModel.Security.IWSTrustFeb2005SyncContract
[<System.ServiceModel.Activation.AspNetCompatibilityRequirements(RequirementsMode=System.ServiceModel.Activation.AspNetCompatibilityRequirementsMode.Allowed)>]
[<System.ServiceModel.ServiceBehavior(ConcurrencyMode=System.ServiceModel.ConcurrencyMode.Multiple, InstanceContextMode=System.ServiceModel.InstanceContextMode.Single, Name="SecurityTokenService", Namespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice")>]
type WSTrustServiceContract = class
    interface IWSTrustFeb2005SyncContract
    interface IWSTrust13SyncContract
    interface IWSTrustFeb2005AsyncContract
    interface IWSTrust13AsyncContract
    interface IWsdlExportExtension
    interface IContractBehavior
Public Class WSTrustServiceContract
Implements IContractBehavior, IWsdlExportExtension, IWSTrust13AsyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, IWSTrustFeb2005SyncContract
継承
WSTrustServiceContract
属性
実装

注釈

次のサービス コントラクト インターフェイスを実装します。

コンストラクター

名前 説明
WSTrustServiceContract(SecurityTokenServiceConfiguration)

WSTrustServiceContract クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
SecurityTokenServiceConfiguration

サービス構成を取得します。

メソッド

名前 説明
AddBindingParameters(ContractDescription, ServiceEndpoint, BindingParameterCollection)

コントラクトの動作をサポートするようにバインディング要素を構成します。

ApplyClientBehavior(ContractDescription, ServiceEndpoint, ClientRuntime)

拡張機能が意図されているコントラクトの説明。

ApplyDispatchBehavior(ContractDescription, ServiceEndpoint, DispatchRuntime)

コントラクト全体でクライアントの変更または拡張を実装します。

BeginDispatchRequest(DispatchContext, AsyncCallback, Object)

DispatchRequest(DispatchContext)の非同期呼び出しを開始します。

BeginProcessCore(Message, WSTrustRequestSerializer, WSTrustResponseSerializer, String, String, String, AsyncCallback, Object)

STS への非同期呼び出しを処理します。

BeginTrust13Cancel(Message, AsyncCallback, Object)

WS-Trust Feb 1.3 Cancel メッセージへの非同期呼び出しを処理します。

BeginTrust13CancelResponse(Message, AsyncCallback, Object)

WS-Trust 1.3 RSTR/Cancel メッセージへの非同期呼び出しを処理します。

BeginTrust13Issue(Message, AsyncCallback, Object)

WS-Trust 1.3 問題メッセージへの非同期呼び出しを処理します。

BeginTrust13IssueResponse(Message, AsyncCallback, Object)

WS-Trust 1.3 RSTR/Issue メッセージへの非同期呼び出しを処理します。

BeginTrust13Renew(Message, AsyncCallback, Object)

WS-Trust 1.3 Renew メッセージへの非同期呼び出しを処理します。

BeginTrust13RenewResponse(Message, AsyncCallback, Object)

WS-Trust 1.3 RSTR/Renew メッセージへの非同期呼び出しを処理します。

BeginTrust13Validate(Message, AsyncCallback, Object)

WS-Trust 1.3 Validate メッセージへの非同期呼び出しを処理します。

BeginTrust13ValidateResponse(Message, AsyncCallback, Object)

WS-Trust 1.3 RSTR/Validate メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005Cancel(Message, AsyncCallback, Object)

WS-Trust Feb 2005 Cancel メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005CancelResponse(Message, AsyncCallback, Object)

WS-Trust Feb 2005 RSTR/Cancel メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005Issue(Message, AsyncCallback, Object)

WS-Trust Feb 2005 Issue メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005IssueResponse(Message, AsyncCallback, Object)

WS-Trust Feb 2005 RSTR/Issue メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005Renew(Message, AsyncCallback, Object)

WS-Trust Feb 2005 Renew メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005RenewResponse(Message, AsyncCallback, Object)

WS-Trust Feb 2005 RSTR/Renew メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005Validate(Message, AsyncCallback, Object)

WS-Trust 2005 年 2 月検証メッセージへの非同期呼び出しを処理します。

BeginTrustFeb2005ValidateResponse(Message, AsyncCallback, Object)

WS-Trust Feb 2005 RSTR/Validate メッセージへの非同期呼び出しを処理します。

CreateDispatchContext(Message, String, String, String, WSTrustRequestSerializer, WSTrustResponseSerializer, WSTrustSerializationContext)

DispatchContext メソッドで使用するDispatchRequest(DispatchContext) オブジェクトを作成します。

CreateSerializationContext()

WSTrustServiceClient のローカル リゾルバー情報を使用して、 WSTrustSerializationContext オブジェクトを作成します。

DispatchRequest(DispatchContext)

WS-Trust 要求メッセージを処理し、必要に応じて、応答メッセージの適切な応答メッセージと WS-Addressing アクションを決定します。

EndDispatchRequest(IAsyncResult)

DispatchRequest(DispatchContext)の非同期呼び出しを完了します。

EndProcessCore(IAsyncResult, String, String, String)

STS への非同期呼び出しを完了します。

EndTrust13Cancel(IAsyncResult)

WS-Trust 1.3 Cancel メッセージの非同期呼び出しを完了します。

EndTrust13CancelResponse(IAsyncResult)

WS-Trust 1.3 RSTR/Cancel メッセージの非同期呼び出しを完了します。

EndTrust13Issue(IAsyncResult)

WS-Trust 1.3 問題メッセージの非同期呼び出しを完了します。

EndTrust13IssueResponse(IAsyncResult)

WS-Trust 1.3 RSTR/Issue メッセージの非同期呼び出しを完了します。

EndTrust13Renew(IAsyncResult)

WS-Trust 1.3 Renew メッセージの非同期呼び出しを完了します。

EndTrust13RenewResponse(IAsyncResult)

WS-Trust 1.3 RSTR/Renew メッセージの非同期呼び出しを完了します。

EndTrust13Validate(IAsyncResult)

WS-Trust 1.3 検証メッセージの非同期呼び出しを完了します。

EndTrust13ValidateResponse(IAsyncResult)

WS-Trust 1.3 RSTR/Validate メッセージの非同期呼び出しを完了します。

EndTrustFeb2005Cancel(IAsyncResult)

WS-Trust Feb 2005 Cancel メッセージの非同期呼び出しを完了します。

EndTrustFeb2005CancelResponse(IAsyncResult)

WS-Trust Feb 2005 RSTR/Cancel メッセージの非同期呼び出しを完了します。

EndTrustFeb2005Issue(IAsyncResult)

Trust 2005 Cancel メッセージへの非同期呼び出しを完了します。

EndTrustFeb2005IssueResponse(IAsyncResult)

WS-Trust Feb 2005 RSTR/Issue メッセージの非同期呼び出しを完了します。

EndTrustFeb2005Renew(IAsyncResult)

WS-Trust Feb 2005 Renew メッセージの非同期呼び出しを完了します。

EndTrustFeb2005RenewResponse(IAsyncResult)

WS-Trust Feb 2005 RSTR/Renew メッセージの非同期呼び出しを完了します。

EndTrustFeb2005Validate(IAsyncResult)

WS-Trust Feb 2005 Validate メッセージの非同期呼び出しを完了します。

EndTrustFeb2005ValidateResponse(IAsyncResult)

WS-Trust Feb 2005 RSTR/Validate メッセージの非同期呼び出しを完了します。

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
ExportContract(WsdlExporter, WsdlContractConversionContext)

派生クラスで実装された場合、カスタム Web サービス記述言語 (WSDL) 要素をコントラクトの生成された WSDL に書き込みます。

ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

エンドポイントの生成された WSDL にカスタム Web サービス記述言語 (WSDL) 要素を書き込みます。

FixMessageElement(ServiceDescription, PortType, WsdlEndpointConversionContext, String, XmlQualifiedName, XmlQualifiedName)

WSDL 生成中に、このメソッドは、適切な WS-Trust バージョンの RST および RSTR 要素を参照するように、指定された操作メッセージ要素を修正します。

GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetRstSecurityTokenResolver()

WS-Trust メッセージ本文でトークンとキーを解決するときに使用される SecurityTokenResolver を返します。

GetSecurityHeaderTokenResolver(RequestContext)

現在の WCF メッセージ要求のセキュリティ ヘッダーに含まれる次のセキュリティ トークンを解決する SecurityTokenResolver を返します。

GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
HandleException(Exception, String, String, EnvelopeVersion)

RequestFailed イベントを発生させ、必要に応じて、指定した例外をFaultExceptionに変換します。 元の例外が FaultException であった場合、または PreserveOriginalException フラグが true に設定されている場合、 FaultException への変換は実行されません。

ImportSchema(WsdlExporter, WsdlEndpointConversionContext, String)

WSDL にまだ存在しない場合は、必要なすべてのスキーマをインポートします。

IncludeNamespace(WsdlEndpointConversionContext, String, String)

必要な WS-Trust 名前空間がまだ存在しない場合は、WSDL に追加します。

MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ProcessCore(Message, WSTrustRequestSerializer, WSTrustResponseSerializer, String, String, String)

STS への同期呼び出しを処理します。

ProcessTrust13Cancel(Message)

WS-Trust 1.3 キャンセル メッセージを同期的に処理します。

ProcessTrust13CancelResponse(Message)

WS-Trust 1.3 RSTR/Cancel メッセージを同期的に処理します。

ProcessTrust13Issue(Message)

WS-Trust 1.3 問題メッセージを同期的に処理します。

ProcessTrust13IssueResponse(Message)

WS-Trust 1.3 RSTR/Cancel メッセージを同期的に処理します。

ProcessTrust13Renew(Message)

WS-Trust 1.3 メッセージを同期的に更新します。

ProcessTrust13RenewResponse(Message)

WS-Trust 1.3 RSTR/Renew メッセージを同期的に処理します。

ProcessTrust13Validate(Message)

WS-Trust 1.3 検証メッセージを同期的に処理します。

ProcessTrust13ValidateResponse(Message)

WS-Trust 1.3 RSTR/Validate メッセージを同期的に処理します。

ProcessTrustFeb2005Cancel(Message)

WS-Trust 2005 年 2 月のキャンセル メッセージを同期的に処理します。

ProcessTrustFeb2005CancelResponse(Message)

WS-Trust Feb 2005 RSTR/Cancel メッセージを同期的に処理します。

ProcessTrustFeb2005Issue(Message)

2005 年 2 月 WS-Trust 発行メッセージを同期的に処理します。

ProcessTrustFeb2005IssueResponse(Message)

WS-Trust Feb 2005 RSTR/Issue メッセージを同期的に処理します。

ProcessTrustFeb2005Renew(Message)

2005 年 2 月 WS-Trust 更新メッセージを同期的に処理します。

ProcessTrustFeb2005RenewResponse(Message)

WS-Trust Feb 2005 RSTR/Renew メッセージを同期的に処理します。

ProcessTrustFeb2005Validate(Message)

WS-Trust 2005 年 2 月の検証メッセージを同期的に処理します。

ProcessTrustFeb2005ValidateResponse(Message)

WS-Trust Feb 2005 RSTR/Validate メッセージを同期的に処理します。

ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
Validate(ContractDescription, ServiceEndpoint)

派生クラスで実装されている場合は、コントラクトとエンドポイントがコントラクトの動作をサポートできることを確認します。

ValidateDispatchContext(DispatchContext)

指定した DispatchContext オブジェクトを検証します。

イベント

名前 説明
RequestFailed

クライアントからの WS-Trust 要求の処理でエラーが発生したときに発生します。

適用対象