Share via


ServiceProxy<TService>.EndpointSwitchRequired Event

Definition

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

public:
 event EventHandler<Microsoft::Xrm::Sdk::Client::EndpointSwitchEventArgs ^> ^ EndpointSwitchRequired;
public event EventHandler<Microsoft.Xrm.Sdk.Client.EndpointSwitchEventArgs> EndpointSwitchRequired;
member this.EndpointSwitchRequired : EventHandler<Microsoft.Xrm.Sdk.Client.EndpointSwitchEventArgs> 
Public Custom Event EndpointSwitchRequired As EventHandler(Of EndpointSwitchEventArgs) 

Event Type

Remarks

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

Applies to