ServiceEndpointElement 建構函式

定義

初始化 ServiceEndpointElement 類別的新執行個體。

多載

ServiceEndpointElement()

初始化 ServiceEndpointElement 類別的新執行個體。

ServiceEndpointElement(Uri, String)

使用指定的端點位址和合約型別,初始化 ServiceEndpointElement 類別的新執行個體。

ServiceEndpointElement()

初始化 ServiceEndpointElement 類別的新執行個體。

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

適用於

ServiceEndpointElement(Uri, String)

使用指定的端點位址和合約型別,初始化 ServiceEndpointElement 類別的新執行個體。

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)

參數

address
Uri

包含端點位址的 URI。

contractType
String

此端點公開的合約。

適用於