Compartir a través de


InvalidPluginExecutionException Constructors

Definition

Overloads

InvalidPluginExecutionException()

Initializes a new instance of the InvalidPluginExecutionException class.

InvalidPluginExecutionException(OperationStatus, Int32, String, PluginHttpStatusCode)

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

InvalidPluginExecutionException(String, PluginHttpStatusCode, Dictionary<String,String>)

Initializes a new instance of the InvalidPluginExecutionException class with an error message, HTTP status, and exception details.

InvalidPluginExecutionException(OperationStatus, Int32, String)

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

InvalidPluginExecutionException(String, Exception)

Initializes a new instance of the InvalidPluginExecutionException class with an error message and a reference to the inner exception that is the cause of this exception.

InvalidPluginExecutionException(OperationStatus, String, Dictionary<String,String>)

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

InvalidPluginExecutionException(String, PluginHttpStatusCode)

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

InvalidPluginExecutionException(OperationStatus, String)

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

InvalidPluginExecutionException(String)

Initializes a new instance of the InvalidPluginExecutionException class with an error message.

InvalidPluginExecutionException(OperationStatus)

Initializes a new instance of the InvalidPluginExecutionException class with an operation status.

InvalidPluginExecutionException(String, Dictionary<String,String>)

Initializes a new instance of the InvalidPluginExecutionException class with an error message and exception details.

InvalidPluginExecutionException()

Initializes a new instance of the InvalidPluginExecutionException class.

public:
 InvalidPluginExecutionException();
public InvalidPluginExecutionException ();
Public Sub New ()

Applies to

InvalidPluginExecutionException(OperationStatus, Int32, String, PluginHttpStatusCode)

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

public:
 InvalidPluginExecutionException(Microsoft::Xrm::Sdk::OperationStatus status, int errorCode, System::String ^ message, Microsoft::Xrm::Sdk::PluginHttpStatusCode httpStatus);
public InvalidPluginExecutionException (Microsoft.Xrm.Sdk.OperationStatus status, int errorCode, string message, Microsoft.Xrm.Sdk.PluginHttpStatusCode httpStatus);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : Microsoft.Xrm.Sdk.OperationStatus * int * string * Microsoft.Xrm.Sdk.PluginHttpStatusCode -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (status As OperationStatus, errorCode As Integer, message As String, httpStatus As PluginHttpStatusCode)

Parameters

status
OperationStatus

Status of the operation.

errorCode
Int32

Error code that identifies the specific error.

message
String

Error message that explains the reason for the exception.

httpStatus
PluginHttpStatusCode

HTTP status code.

Applies to

InvalidPluginExecutionException(String, PluginHttpStatusCode, Dictionary<String,String>)

Initializes a new instance of the InvalidPluginExecutionException class with an error message, HTTP status, and exception details.

public InvalidPluginExecutionException (string message, Microsoft.Xrm.Sdk.PluginHttpStatusCode httpStatus, System.Collections.Generic.Dictionary<string,string> exceptionDetails);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : string * Microsoft.Xrm.Sdk.PluginHttpStatusCode * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (message As String, httpStatus As PluginHttpStatusCode, exceptionDetails As Dictionary(Of String, String))

Parameters

message
String

Error message that explains the reason for the exception.

httpStatus
PluginHttpStatusCode

HTTP status code.

exceptionDetails
Dictionary<String,String>

Collection containing the details of the exception.

Applies to

InvalidPluginExecutionException(OperationStatus, Int32, String)

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

public:
 InvalidPluginExecutionException(Microsoft::Xrm::Sdk::OperationStatus status, int errorCode, System::String ^ message);
public InvalidPluginExecutionException (Microsoft.Xrm.Sdk.OperationStatus status, int errorCode, string message);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : Microsoft.Xrm.Sdk.OperationStatus * int * string -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (status As OperationStatus, errorCode As Integer, message As String)

Parameters

status
OperationStatus

Status of the operation.

errorCode
Int32

Error code that identifies the specific error.

message
String

Error message that explains the reason for the exception.

Remarks

See the complete list of Dataverse error codes.

Applies to

InvalidPluginExecutionException(String, Exception)

Initializes a new instance of the InvalidPluginExecutionException class with an error message and a reference to the inner exception that is the cause of this exception.

public:
 InvalidPluginExecutionException(System::String ^ message, Exception ^ exception);
public InvalidPluginExecutionException (string message, Exception exception);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : string * Exception -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (message As String, exception As Exception)

Parameters

message
String

Error message that explains the reason for the exception.

exception
Exception

The inner exception that is the cause of this exception.

Applies to

InvalidPluginExecutionException(OperationStatus, String, Dictionary<String,String>)

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

public InvalidPluginExecutionException (Microsoft.Xrm.Sdk.OperationStatus status, string message, System.Collections.Generic.Dictionary<string,string> exceptionDetails);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : Microsoft.Xrm.Sdk.OperationStatus * string * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (status As OperationStatus, message As String, exceptionDetails As Dictionary(Of String, String))

Parameters

status
OperationStatus

Status of the operation.

message
String

Error message that explains the reason for the exception.

exceptionDetails
Dictionary<String,String>

Collection containing the details of the exception.

Applies to

InvalidPluginExecutionException(String, PluginHttpStatusCode)

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

public:
 InvalidPluginExecutionException(System::String ^ message, Microsoft::Xrm::Sdk::PluginHttpStatusCode httpStatus);
public InvalidPluginExecutionException (string message, Microsoft.Xrm.Sdk.PluginHttpStatusCode httpStatus);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : string * Microsoft.Xrm.Sdk.PluginHttpStatusCode -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (message As String, httpStatus As PluginHttpStatusCode)

Parameters

message
String

Error message that explains the reason for the exception.

httpStatus
PluginHttpStatusCode

HTTP status code.

Applies to

InvalidPluginExecutionException(OperationStatus, String)

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

public:
 InvalidPluginExecutionException(Microsoft::Xrm::Sdk::OperationStatus status, System::String ^ message);
public InvalidPluginExecutionException (Microsoft.Xrm.Sdk.OperationStatus status, string message);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : Microsoft.Xrm.Sdk.OperationStatus * string -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (status As OperationStatus, message As String)

Parameters

status
OperationStatus

Status of the operation.

message
String

Error message that explains the reason for the exception.

Applies to

InvalidPluginExecutionException(String)

Initializes a new instance of the InvalidPluginExecutionException class with an error message.

public:
 InvalidPluginExecutionException(System::String ^ message);
public InvalidPluginExecutionException (string message);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : string -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (message As String)

Parameters

message
String

Error message that explains the reason for the exception.

Applies to

InvalidPluginExecutionException(OperationStatus)

Initializes a new instance of the InvalidPluginExecutionException class with an operation status.

public:
 InvalidPluginExecutionException(Microsoft::Xrm::Sdk::OperationStatus status);
public InvalidPluginExecutionException (Microsoft.Xrm.Sdk.OperationStatus status);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : Microsoft.Xrm.Sdk.OperationStatus -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (status As OperationStatus)

Parameters

status
OperationStatus

The status of the operation.

Applies to

InvalidPluginExecutionException(String, Dictionary<String,String>)

Initializes a new instance of the InvalidPluginExecutionException class with an error message and exception details.

public InvalidPluginExecutionException (string message, System.Collections.Generic.Dictionary<string,string> exceptionDetails);
new Microsoft.Xrm.Sdk.InvalidPluginExecutionException : string * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Public Sub New (message As String, exceptionDetails As Dictionary(Of String, String))

Parameters

message
String

Error message that explains the reason for the exception.

exceptionDetails
Dictionary<String,String>

Collection containing the details of the exception.

Applies to