共用方式為


ServiceProxy<TService>.EndpointSwitchRequired Event

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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 365 (online)

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright