Επεξεργασία

Κοινή χρήση μέσω


WebScriptEnablingBehavior.ApplyClientBehavior Method

Definition

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