次の方法で共有


IServiceConfiguration<TService>.CurrentServiceEndpoint Property

Definition

Gets or sets the current endpoint in use by a service.

public:
 property System::ServiceModel::Description::ServiceEndpoint ^ CurrentServiceEndpoint { System::ServiceModel::Description::ServiceEndpoint ^ get(); void set(System::ServiceModel::Description::ServiceEndpoint ^ value); };
public System.ServiceModel.Description.ServiceEndpoint CurrentServiceEndpoint { get; set; }
member this.CurrentServiceEndpoint : System.ServiceModel.Description.ServiceEndpoint with get, set
Public Property CurrentServiceEndpoint As ServiceEndpoint

Property Value

The current endpoint in use by a service.

Remarks

Defaults to the first available endpoint in the ServiceEndpoints dictionary if this property has not already been set.

Applies to