ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Metoda

Definice

Použije zadané chování klienta na koncový bod.

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

Koncový bod, na který se má použít zadané chování klienta.

behavior
ClientRuntime

Chování klienta, které se má použít na zadaný koncový bod.

Implementuje

Výjimky

serviceEndpoint nebo behavior je null.

Poznámky

Chování klienta se použije na koncový bod pouze v případě, že k němu koncový bod není SecurityBindingElement přidružený.

Platí pro