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 Dynamics 365 platform displays 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 HttpStatusCode value to return.

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>)
InvalidPluginExecutionException(String)

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

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

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

Properties

ErrorCode

Gets the numeric code that identifies a specific error condition.

ExceptionDetails
HttpStatus
Status

Gets the status of the plug-in exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to