Inherited from IContractBehavior. Implement to confirm that the contract and endpoint can support the contract behavior.
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

instance.Validate(contractDescription, endpoint)

Syntax

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

Parameters

contractDescription

The contract to validate.

endpoint

The endpoint to validate.

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