Bagikan melalui


InvalidPluginExecutionException Class

Definition

Represents an exception that occurred during plug-in execution.

public ref class InvalidPluginExecutionException sealed : Exception
[System.Serializable]
public sealed class InvalidPluginExecutionException : Exception
[<System.Serializable>]
type InvalidPluginExecutionException = class
    inherit Exception
    interface ISerializable
Public NotInheritable Class InvalidPluginExecutionException
Inherits Exception
Inheritance
InvalidPluginExecutionException
Attributes
Implements

Remarks

When thrown by a plug-in, the Microsoft Dataverse platform displays to the user the exception message in a dialog of the Web application.

Constructors

InvalidPluginExecutionException()

Initializes a new instance of the InvalidPluginExecutionException class.

InvalidPluginExecutionException(OperationStatus)

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

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 HTTP status code.

InvalidPluginExecutionException(OperationStatus, String)

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

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)

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

InvalidPluginExecutionException(String, Dictionary<String,String>)

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

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(String, PluginHttpStatusCode)

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

Properties

ErrorCode

Gets the numeric code that identifies a specific error condition.

ExceptionDetails

Collection containing the details of the exception.

HttpStatus

HTTP status received by the plug-in when making a call.

Status

Gets the status of the plug-in execution operation.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

ToString()

Applies to