ServiceMetadataContractBehavior.IContractBehavior.Validate Method (ContractDescription, ServiceEndpoint)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Confirms the contract and endpoint can support the contract behavior.

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

void IContractBehavior.Validate(
	ContractDescription description,
	ServiceEndpoint endpoint
)

Parameters

description
Type: System.ServiceModel.Description.ContractDescription

The contract to validate.

endpoint
Type: System.ServiceModel.Description.ServiceEndpoint

The endpoint to validate.

.NET Framework
Available since 4.0
Return to top
Show: