This documentation is archived and is not being maintained.

EndpointDispatcher Constructor

Initializes a new instance of the EndpointDispatcher class with the specified address, contract name, and contract namespace.

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

public EndpointDispatcher(
	EndpointAddress address,
	string contractName,
	string contractNamespace
)

Parameters

address
Type: System.ServiceModel.EndpointAddress

The endpoint address.

contractName
Type: System.String

The name of the endpoint contract.

contractNamespace
Type: System.String

The namespace of the endpoint contract.

Use this constructor to create an endpoint that is not in the description.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: