RoutingBehavior.GetContractForDescription Method (ContractDescription)

.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.

Gets the contract type for the specified ContractDescription.

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

public static Type GetContractForDescription(
	ContractDescription description
)

Parameters

description
Type: System.ServiceModel.Description.ContractDescription

The contract description to get the type of.

Return Value

Type: System.Type

The type of the specified ContractDescription.

.NET Framework
Available since 4.0
Return to top
Show: