InvalidPluginExecutionException Constructors

Definition

Overloads

InvalidPluginExecutionException()

Initializes a new instance of the InvalidPluginExecutionException class.

InvalidPluginExecutionException(OperationStatus)

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

InvalidPluginExecutionException(String)

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

InvalidPluginExecutionException(OperationStatus, String)

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

InvalidPluginExecutionException(String, PluginHttpStatusCode)

Initializes a new instance of the InvalidPluginExecutionException class with an error message and an HttpStatusCode value to return.

InvalidPluginExecutionException(String, Exception)

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

InvalidPluginExecutionException(OperationStatus, Int32, String)

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

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 HttpStatusCode value to return.

InvalidPluginExecutionException()

Initializes a new instance of the InvalidPluginExecutionException class.

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

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

Type: OperationStatus. The status of the operation.

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

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

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

Type: OperationStatus. The status of the operation.

message
String

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

Applies to

InvalidPluginExecutionException(String, PluginHttpStatusCode)

Initializes a new instance of the InvalidPluginExecutionException class with an error message and an HttpStatusCode value to return.

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

An error message.

httpStatus
PluginHttpStatusCode

An HTTP status code.

Applies to

InvalidPluginExecutionException(String, Exception)

Initializes a new instance of the InvalidPluginExecutionException class with 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

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

exception
Exception

Type: Exception. The inner exception that is the cause of this 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

Type: OperationStatus. The status of the operation.

errorCode
Int32

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

message
String

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

Remarks

See Web service error codes for a list of Common Data Service error codes.

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 HttpStatusCode value to return.

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

An operation status.

errorCode
Int32

An error code.

message
String

An error messsage.

httpStatus
PluginHttpStatusCode

An HTTP status code.

Applies to