ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Metoda

Definicja

Stosuje określone zachowanie klienta do punktu końcowego.

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)

Parametry

serviceEndpoint
ServiceEndpoint

Punkt końcowy, do którego ma zostać zastosowane określone zachowanie klienta.

behavior
ClientRuntime

Zachowanie klienta, które ma zostać zastosowane do określonego punktu końcowego.

Implementuje

Wyjątki

serviceEndpoint lub behavior ma wartość null.

Uwagi

Zachowanie klienta jest stosowane do punktu końcowego tylko wtedy, gdy punkt końcowy nie ma skojarzonego SecurityBindingElement z nim.

Dotyczy