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.

适用于

另请参阅