DynamicEndpoint 類別

定義

使用 WS-Discovery 在執行階段中以動態方式尋找端點位址的端點。

public ref class DynamicEndpoint : System::ServiceModel::Description::ServiceEndpoint
public class DynamicEndpoint : System.ServiceModel.Description.ServiceEndpoint
type DynamicEndpoint = class
    inherit ServiceEndpoint
Public Class DynamicEndpoint
Inherits ServiceEndpoint
繼承
DynamicEndpoint

備註

當您使用 DynamicEndpoint 時,DiscoveryClientBindingElement 會加入至您在 DynamicEndpoint 建構函式中指定的繫結 (如果尚未存在的話)。 FindCriteria 屬性可讓您描述要使用的服務。 FindCriteria 使用的 DiscoveryEndpointDynamicEndpoint 會覆寫 DiscoveryClientBindingElement 中指定的這些值。

建構函式

DynamicEndpoint(ContractDescription, Binding)

使用指定的 DynamicEndpointContractDescription,初始化 Binding 類別的新執行個體。

屬性

Address

取得或設定服務端點的端點位址。

(繼承來源 ServiceEndpoint)
Behaviors

取得服務端點的行為。

(繼承來源 ServiceEndpoint)
Binding

取得或設定服務端點的繫結。

(繼承來源 ServiceEndpoint)
Contract

取得服務端點的合約。

(繼承來源 ServiceEndpoint)
DiscoveryEndpointProvider

取得或設定提供探索端點的物件。

EndpointBehaviors

取得服務的端點行為。

(繼承來源 ServiceEndpoint)
FindCriteria

取得或設定用來搜尋服務的 FindCriteria

IsSystemEndpoint

取得或設定服務端點是否由系統產生,而非由使用者定義。

(繼承來源 ServiceEndpoint)
ListenUri

取得或設定服務端點接聽的 URI。

(繼承來源 ServiceEndpoint)
ListenUriMode

取得或設定傳輸如何處理提供給服務接聽的 URI。

(繼承來源 ServiceEndpoint)
Name

取得或設定服務端點的名稱。

(繼承來源 ServiceEndpoint)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於