Behavior. Apply Client Behavior(ServiceEndpoint, ClientRuntime) Method
Implements a modification or extension of the client across an endpoint.
public: void ApplyClientBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::ClientRuntime ^ clientRuntime);
public void ApplyClientBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime);
abstract member ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
The endpoint that is to be customized.
The client runtime to be customized.
Implement the ApplyClientBehavior method to view, modify, or add custom extension to the client runtime across all messages used with an endpoint or for specific operations. For details about what customizations you can do with a client run-time object, see ClientRuntime and ClientOperation.
Because other behaviors may have already added or removed some operations from the runtime there is no guarantee that there are the same number of operations in the description as there are DispatchOperation objects in the Operations property.