Export (0) Print
Expand All

ClientCredentials.IEndpointBehavior.ApplyClientBehavior Method

Silverlight

Applies the specified client behavior to the endpoint.

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

void IEndpointBehavior.ApplyClientBehavior(
	ServiceEndpoint serviceEndpoint,
	ClientRuntime behavior
)

Parameters

serviceEndpoint
Type: System.ServiceModel.Description.ServiceEndpoint
The endpoint to which the specified client behavior is to be applied.
behavior
Type: System.ServiceModel.Dispatcher.ClientRuntime
The client behavior that is to be applied to the specified endpoint.

Implements

IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime)

ExceptionCondition
ArgumentNullException

serviceEndpoint or behavior is null.

The client behavior is applied to the endpoint only if the endpoint does not have a SecurityBindingElement associated with it.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft