Udostępnij za pośrednictwem


IServiceConfiguration<TService>.CurrentServiceEndpoint Property

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

ServiceEndpoint CurrentServiceEndpoint { get; set; }
property ServiceEndpoint^ CurrentServiceEndpoint {
    ServiceEndpoint^ get();
    void set(ServiceEndpoint^ value);
}
abstract CurrentServiceEndpoint : ServiceEndpoint with get, set
Property CurrentServiceEndpoint As ServiceEndpoint

Property Value

Type: System.ServiceModel.Description.ServiceEndpoint

Type: ServiceEndpoint
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.

See Also

IServiceConfiguration<TService> Interface
Microsoft.Xrm.Sdk.Client Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright