共用方式為


DiscoveryEndpoint 建構函式

定義

建立 DiscoveryEndpoint 類別的新執行個體。

多載

DiscoveryEndpoint()

建立 DiscoveryEndpoint 類別的新執行個體。

DiscoveryEndpoint(Binding, EndpointAddress)

使用指定的繫結與端點位址,建立 DiscoveryEndpoint 類別的新執行個體。

DiscoveryEndpoint(DiscoveryVersion, ServiceDiscoveryMode)

使用指定的探索版本和模式,初始化 DiscoveryEndpoint 類別的新執行個體。

DiscoveryEndpoint(DiscoveryVersion, ServiceDiscoveryMode, Binding, EndpointAddress)

使用指定的探索版本、模式、繫結和端點位址,初始化 DiscoveryEndpoint 類別的新執行個體。

DiscoveryEndpoint()

建立 DiscoveryEndpoint 類別的新執行個體。

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

備註

根據預設,DiscoveryVersion 會設為 WSDiscoveryApril2005DiscoveryMode 會設為 Managed

適用於

DiscoveryEndpoint(Binding, EndpointAddress)

使用指定的繫結與端點位址,建立 DiscoveryEndpoint 類別的新執行個體。

public:
 DiscoveryEndpoint(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ endpointAddress);
public DiscoveryEndpoint (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress endpointAddress);
new System.ServiceModel.Discovery.DiscoveryEndpoint : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Discovery.DiscoveryEndpoint
Public Sub New (binding As Binding, endpointAddress As EndpointAddress)

參數

binding
Binding

繫結。

endpointAddress
EndpointAddress

端點位址。

備註

根據預設,DiscoveryVersion 會設為 WSDiscoveryApril2005DiscoveryMode 會設為 Managed

適用於

DiscoveryEndpoint(DiscoveryVersion, ServiceDiscoveryMode)

使用指定的探索版本和模式,初始化 DiscoveryEndpoint 類別的新執行個體。

public:
 DiscoveryEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion, System::ServiceModel::Discovery::ServiceDiscoveryMode discoveryMode);
public DiscoveryEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion, System.ServiceModel.Discovery.ServiceDiscoveryMode discoveryMode);
new System.ServiceModel.Discovery.DiscoveryEndpoint : System.ServiceModel.Discovery.DiscoveryVersion * System.ServiceModel.Discovery.ServiceDiscoveryMode -> System.ServiceModel.Discovery.DiscoveryEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion, discoveryMode As ServiceDiscoveryMode)

參數

discoveryVersion
DiscoveryVersion

列舉值,表示其中一種 WS-Discovery 通訊協定版本。

discoveryMode
ServiceDiscoveryMode

列舉值,表示其中一種用來傳送探索訊息的模式。

適用於

DiscoveryEndpoint(DiscoveryVersion, ServiceDiscoveryMode, Binding, EndpointAddress)

使用指定的探索版本、模式、繫結和端點位址,初始化 DiscoveryEndpoint 類別的新執行個體。

public:
 DiscoveryEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion, System::ServiceModel::Discovery::ServiceDiscoveryMode discoveryMode, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ endpointAddress);
public DiscoveryEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion, System.ServiceModel.Discovery.ServiceDiscoveryMode discoveryMode, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress endpointAddress);
new System.ServiceModel.Discovery.DiscoveryEndpoint : System.ServiceModel.Discovery.DiscoveryVersion * System.ServiceModel.Discovery.ServiceDiscoveryMode * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Discovery.DiscoveryEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion, discoveryMode As ServiceDiscoveryMode, binding As Binding, endpointAddress As EndpointAddress)

參數

discoveryVersion
DiscoveryVersion

列舉值,表示其中一種 WS-Discovery 通訊協定版本。

discoveryMode
ServiceDiscoveryMode

列舉值,表示其中一種用來傳送探索訊息的模式。

binding
Binding

繫結項目,這些項目會指定用於用戶端與服務之通訊的通訊協定、傳輸和訊息編碼器。

endpointAddress
EndpointAddress

探索端點的唯一位址。

適用於