ServiceProxy<TService>.EndpointSwitchRequired Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.