InvalidPluginExecutionException.ErrorCode Property

 

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

Gets the numeric code that identifies a specific error condition.

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

Syntax

public int ErrorCode { get; }
Public ReadOnly Property ErrorCode As Integer

Property Value

Type: System.Int32

Type: Int32
The error code.

Remarks

See the ErrorCodes.cs file in the SampleCode\CS\HelperCode folder of the SDK download for a list of Microsoft Dynamics 365 specific error codes.

See Also

InvalidPluginExecutionException Class
Microsoft.Xrm.Sdk Namespace
Web service error codes

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright