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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.