WebScriptEnablingBehavior.ApplyClientBehavior Method

Definition

Applies the behavior to the client across an endpoint.

C#
public override void ApplyClientBehavior(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime 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

Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1