語言

ServiceEndpointElement 建構函式

定義

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

多載

名稱 Description
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

這個終端正在揭露的契約。

適用於