InvalidPluginExecutionException InvalidPluginExecutionException InvalidPluginExecutionException 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
type InvalidPluginExecutionException = class
    inherit Exception
    interface ISerializable
Public NotInheritable Class InvalidPluginExecutionException
Inherits Exception
Inheritance
InvalidPluginExecutionExceptionInvalidPluginExecutionExceptionInvalidPluginExecutionExceptionInvalidPluginExecutionException
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() InvalidPluginExecutionException() InvalidPluginExecutionException() InvalidPluginExecutionException()

Initializes a new instance of the InvalidPluginExecutionException class.

InvalidPluginExecutionException(OperationStatus) InvalidPluginExecutionException(OperationStatus) InvalidPluginExecutionException(OperationStatus) InvalidPluginExecutionException(OperationStatus)

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

InvalidPluginExecutionException(String) InvalidPluginExecutionException(String) InvalidPluginExecutionException(String) InvalidPluginExecutionException(String)

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

InvalidPluginExecutionException(OperationStatus, String) InvalidPluginExecutionException(OperationStatus, String) InvalidPluginExecutionException(OperationStatus, String) InvalidPluginExecutionException(OperationStatus, String)

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

InvalidPluginExecutionException(String, Exception) InvalidPluginExecutionException(String, Exception) InvalidPluginExecutionException(String, Exception) 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) InvalidPluginExecutionException(OperationStatus, Int32, String) InvalidPluginExecutionException(OperationStatus, Int32, String) InvalidPluginExecutionException(OperationStatus, Int32, String)

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

Properties

ErrorCode ErrorCode ErrorCode ErrorCode

Gets the numeric code that identifies a specific error condition.

Status Status Status Status

Gets the status of the plug-in exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to