ServiceProxyShouldRetry Method

 

Updated: November 29, 2016

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

Checks a message security exception to determine if a service call should be attempted again.

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

No code example is currently available or this language may not be supported.

Parameters

messageSecurityException
Type:

Type: MessageSecurityException. The exception to check.

retry
Type:

Type: Nullable<Boolean>. null if this is the first time the check is performed; otherwise, this is the second time and a retry should not be performed.

Return Value

Type:

Type: Nullable<Boolean>
true if the service call should be tried again; otherwise, false or null.

This particular type of exception occurs in Active Directory environments or sometimes when Internet Information Services (IIS) is reset.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: