WebScriptEnablingBehavior.ApplyClientBehavior 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 behavior to the client across an endpoint.
public:
override void ApplyClientBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::ClientRuntime ^ clientRuntime);
public override void ApplyClientBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime);
override this.ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
Public Overrides Sub ApplyClientBehavior (endpoint As ServiceEndpoint, clientRuntime As ClientRuntime)
Parameters
- endpoint
- ServiceEndpoint
The ServiceEndpoint that exposes the contract.
- clientRuntime
- ClientRuntime
The ClientRuntime to which the custom behavior is applied.
Remarks
Implements the ApplyClientBehavior(ServiceEndpoint, ClientRuntime) method to view, modify, or add custom extension to the client runtime across all messages used with an endpoint or for specific operations.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.