ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Méthode

Définition

Applique le comportement client spécifié au point de terminaison.

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)

Paramètres

serviceEndpoint
ServiceEndpoint

Point de terminaison auquel le comportement client spécifié doit être appliqué.

behavior
ClientRuntime

Comportement client à appliquer au point de terminaison spécifié.

Implémente

Exceptions

serviceEndpoint ou behavior est null.

Remarques

Le comportement client n'est appliqué au point de terminaison que si celui-ci n'est associé à aucun SecurityBindingElement.

S’applique à