ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Applique le comportement du 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 du client spécifié doit être appliqué.
- behavior
- ClientRuntime
Comportement du client à appliquer au point de terminaison spécifié.
Implémente
Exceptions
serviceEndpoint ou behavior est null.
Remarques
Le comportement du client est appliqué au point de terminaison uniquement si le point de terminaison n’a pas d’associé SecurityBindingElement à celui-ci.