共用方式為


Endpoint.GetAddress 方法

定義

取得端點的位址。

多載

GetAddress()

取得端點的位址。

GetAddress(ServiceHostBase)

使用指定的 ServiceHostBase 執行個體取得端點的位址。

GetAddress()

取得端點的位址。

public:
 System::ServiceModel::EndpointAddress ^ GetAddress();
public System.ServiceModel.EndpointAddress GetAddress ();
member this.GetAddress : unit -> System.ServiceModel.EndpointAddress
Public Function GetAddress () As EndpointAddress

傳回

端點的 EndpointAddress

適用於

GetAddress(ServiceHostBase)

使用指定的 ServiceHostBase 執行個體取得端點的位址。

public:
 System::ServiceModel::EndpointAddress ^ GetAddress(System::ServiceModel::ServiceHostBase ^ host);
public System.ServiceModel.EndpointAddress GetAddress (System.ServiceModel.ServiceHostBase host);
member this.GetAddress : System.ServiceModel.ServiceHostBase -> System.ServiceModel.EndpointAddress
Public Function GetAddress (host As ServiceHostBase) As EndpointAddress

參數

host
ServiceHostBase

要使用的 ServiceHostBase 執行個體。

傳回

端點的 EndpointAddress

適用於