ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Methode

Definitie

Hiermee past u het opgegeven clientgedrag toe op het eindpunt.

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)

Parameters

serviceEndpoint
ServiceEndpoint

Het eindpunt waarop het opgegeven clientgedrag moet worden toegepast.

behavior
ClientRuntime

Het clientgedrag dat moet worden toegepast op het opgegeven eindpunt.

Implementeringen

Uitzonderingen

serviceEndpoint of behavior is null.

Opmerkingen

Het clientgedrag wordt alleen toegepast op het eindpunt als er geen SecurityBindingElement aan het eindpunt is gekoppeld.

Van toepassing op