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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.