Endpoint.GetAddress 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得端點的地址。
多載
| 名稱 | Description |
|---|---|
| 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
傳回
適用於
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該用的實例。