편집

다음을 통해 공유


ServiceEndpointElement Constructors

Definition

Initializes a new instance of the ServiceEndpointElement class.

Overloads

ServiceEndpointElement()

Initializes a new instance of the ServiceEndpointElement class.

ServiceEndpointElement(Uri, String)

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

ServiceEndpointElement()

Initializes a new instance of the ServiceEndpointElement class.

public:
 ServiceEndpointElement();
public ServiceEndpointElement ();
Public Sub New ()

Applies to

ServiceEndpointElement(Uri, String)

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

public:
 ServiceEndpointElement(Uri ^ address, System::String ^ contractType);
public ServiceEndpointElement (Uri address, string contractType);
new System.ServiceModel.Configuration.ServiceEndpointElement : Uri * string -> System.ServiceModel.Configuration.ServiceEndpointElement
Public Sub New (address As Uri, contractType As String)

Parameters

address
Uri

A URI that contains the address of the endpoint.

contractType
String

The contract this endpoint is exposing.

Applies to