共用方式為


ServiceProxy<TService>.EndpointSwitched Event

Definition

Occurs when a failover recovery has completed and the organization’s current endpoint has been switched to an alternate endpoint.

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

Event Type

Examples

public event EventHandler<EndpointSwitchEventArgs> EndpointSwitched Public Event EndpointSwitched As EventHandler<EndpointSwitchEventArgs>

Applies to