ChannelEndpointElement Constructor (EndpointAddress^, String^)

 

Initializes a new instance of the ChannelEndpointElement class with the specified endpoint address and contract type.

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

public:
ChannelEndpointElement(
	EndpointAddress^ address,
	String^ contractType
)

Parameters

address
Type: System.ServiceModel::EndpointAddress^

Specifies the address of the endpoint. The default is an empty string. The address must be an absolute URI.

contractType
Type: System::String^

A string that indicates which contract this endpoint is exposing. The assembly must implement the contract type.

.NET Framework
Available since 3.0
Return to top
Show: