ServiceProxy<TService>.EndpointSwitchRequired Event

 

Applies To: Dynamics CRM 2015

Occurs when a failover has occurred and a switch from the organization’s current endpoint to an alternate endpoint is required.

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

Syntax

public event EventHandler<EndpointSwitchEventArgs> EndpointSwitchRequired
public:
event EventHandler<EndpointSwitchEventArgs^>^ EndpointSwitchRequired {
    void add(EventHandler<EndpointSwitchEventArgs^>^ value);
    void remove(EventHandler<EndpointSwitchEventArgs^>^ value);
}
member EndpointSwitchRequired : IEvent<EventHandler<EndpointSwitchEventArgs>,
    EndpointSwitchEventArgs>
Public Event EndpointSwitchRequired As EventHandler(Of EndpointSwitchEventArgs)

Remarks

This event is fired during execution of a web service call and only if an alternate endpoint exists.

See Also

ServiceProxy<TService> Class
Microsoft.Xrm.Sdk.Client Namespace
Disaster recovery in Microsoft Dynamics CRM Online

Return to top

© 2016 Microsoft. All rights reserved. Copyright