Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ApplyClientBehavior Method

WebHttpBehavior.ApplyClientBehavior Method

Implements the ApplyClientBehavior(ServiceEndpoint, ClientRuntime) method to support modification or extension of the client across an endpoint.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public virtual void ApplyClientBehavior(
	ServiceEndpoint endpoint,
	ClientRuntime clientRuntime
)

Parameters

endpoint
Type: System.ServiceModel.Description.ServiceEndpoint

The endpoint that exposes the contract.

clientRuntime
Type: System.ServiceModel.Dispatcher.ClientRuntime

The client to which the custom behavior is applied.

Implements

IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1
Show:
© 2015 Microsoft