ClientCredentials.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies the specified client behavior to the 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)
Parameters
- serviceEndpoint
- ServiceEndpoint
The endpoint to which the specified client behavior is to be applied.
- behavior
- ClientRuntime
The client behavior that is to be applied to the specified endpoint.
Implements
Exceptions
serviceEndpoint
or behavior
is null
.
Remarks
The client behavior is applied to the endpoint only if the endpoint does not have a SecurityBindingElement associated with it.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.