Inherited from IContractBehavior. Implements a modification or extension of the client across a contract.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSTrustServiceContract
Dim contractDescription As ContractDescription
Dim endpoint As ServiceEndpoint
Dim dispatchRuntime As DispatchRuntime

instance.ApplyDispatchBehavior(contractDescription, endpoint, dispatchRuntime)

Syntax

Visual Basic
Public Sub ApplyDispatchBehavior ( _
		contractDescription As ContractDescription, _
		endpoint As ServiceEndpoint, _
		dispatchRuntime As DispatchRuntime _
)
C#
public void ApplyDispatchBehavior (
		ContractDescription contractDescription,
		ServiceEndpoint endpoint,
		DispatchRuntime dispatchRuntime
)
C++
public:
virtual void ApplyDispatchBehavior (
		ContractDescription^ contractDescription, 
		ServiceEndpoint^ endpoint, 
		DispatchRuntime^ dispatchRuntime
) sealed
J#
public final void ApplyDispatchBehavior (
		ContractDescription contractDescription, 
		ServiceEndpoint endpoint, 
		DispatchRuntime dispatchRuntime
)
JScript
public final function ApplyDispatchBehavior (
		contractDescription : ContractDescription, 
		endpoint : ServiceEndpoint, 
		dispatchRuntime : DispatchRuntime
)

Parameters

contractDescription

The contract description to be modified.

endpoint

The endpoint that exposes the contract.

dispatchRuntime

The dispatch runtime that controls service execution.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also