ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) メソッド

定義

指定したクライアント動作をエンドポイントに適用します。

public:
 virtual void ApplyClientBehavior(System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint, System::ServiceModel::Dispatcher::ClientRuntime ^ behavior);
public virtual void ApplyClientBehavior (System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Dispatcher.ClientRuntime behavior);
abstract member ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
override this.ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
Public Overridable Sub ApplyClientBehavior (serviceEndpoint As ServiceEndpoint, behavior As ClientRuntime)

パラメーター

serviceEndpoint
ServiceEndpoint

指定したクライアント動作を適用するエンドポイント。

behavior
ClientRuntime

指定したエンドポイントに適用するクライアント動作。

実装

例外

serviceEndpoint または behaviornull です。

注釈

クライアント動作は、エンドポイントに SecurityBindingElement が関連付けられていない場合にのみエンドポイントに適用されます。

適用対象