Handling faults
Required reference in your code
Use Microsoft.Xrm.Sdk.OrganizationServiceFault
catch(FaultException<Microsoft.Xrm.Sdk.OrganizationServiceFault> ex)
other Common exceptions and faults to handle
System.TimeoutException
catch(System.TimeoutException ex)
System.Exception
catch(System.Exception ex)
Other exceptions and faults to handle
-securityTokenValidationException
-ExpiredSecurityTokenException
-SecurityAccessDeniedException
-MessageSecurityException
-SecurityNegotiationException
Microsoft Dynamics CRM Online
SecurityAccessDeniedException : Using a valid Microsoft Account, but it is not associated with a CRM Online Organization.
MessageSecutiyException: Your Microsoft Account is not valid or did not authenticate.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.