EndpointAddressBuilder.ToEndpointAddress 方法

定義

建立一個以目前端點位址產生器的屬性值初始化的新端點位址。

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

傳回

EndpointAddress,其屬性會以目前端點位址產生器的值進行初始化。

範例

EndpointAddress ea = eab.ToEndpointAddress();
Dim ea As EndpointAddress = eab.ToEndpointAddress()

備註

從端點位址所初始化的值包括:身分識別值、位址標頭集合、URI 與延伸緩衝區。

適用於