ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Aplica o comportamento do cliente especificado ao endpoint.
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)
Parâmetros
- serviceEndpoint
- ServiceEndpoint
O endpoint ao qual o comportamento especificado do cliente deve ser aplicado.
- behavior
- ClientRuntime
O comportamento do cliente que deve ser aplicado ao endpoint especificado.
Implementações
Exceções
serviceEndpoint ou behavior é null.
Observações
O comportamento do cliente é aplicado ao endpoint apenas se este não tiver um SecurityBindingElement associado a ele.