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

Properties

ErrorCode

Gets the numeric code that identifies a specific error condition.

HttpStatus
Status

Gets the status of the plug-in exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to