InvalidPluginExecutionException Constructor (OperationStatus, Int32, String)

 

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

Initializes a new instance of the InvalidPluginExecutionException class with an operation status, an error code, and an error message.

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

Syntax

public InvalidPluginExecutionException(
    OperationStatus status,
    int errorCode,
    string message
)
Public Sub New (
    status As OperationStatus,
    errorCode As Integer,
    message As String
)

Parameters

  • errorCode
    Type: System.Int32

    Type: Int32. The error code that identifies the specific error.

  • message
    Type: System.String

    Type: String. The error message that explains the reason for the exception.

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 Overload
InvalidPluginExecutionException Class
Microsoft.Xrm.Sdk Namespace
Web service error codes

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright