ClientBase<TChannel>.Endpoint 屬性

定義

取得 WCF 用戶端可連線之服務的目標端點。Gets the target endpoint for the service to which the WCF client can connect.

public:
 property System::ServiceModel::Description::ServiceEndpoint ^ Endpoint { System::ServiceModel::Description::ServiceEndpoint ^ get(); };
public System.ServiceModel.Description.ServiceEndpoint Endpoint { get; }
member this.Endpoint : System.ServiceModel.Description.ServiceEndpoint
Public ReadOnly Property Endpoint As ServiceEndpoint

屬性值

ServiceEndpoint

目標端點。The target endpoint.

備註

請使用 Endpoint 屬性取得 System.ServiceModel.Description.ServiceEndpoint 物件進行檢查或變更,然後再使用 ClientBase<TChannel> 物件。Use the Endpoint property to obtain the System.ServiceModel.Description.ServiceEndpoint object to inspect or modify prior to using the ClientBase<TChannel> object.

適用於

另請參閱