Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

InvalidPluginExecutionException Class

Definition

Namespace:
Microsoft.Xrm.Sdk
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
InvalidPluginExecutionException()

Initializes a new instance of the InvalidPluginExecutionException class.

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, Int32, String)

Initializes a new instance of the InvalidPluginExecutionException class with an operation status, an error code, 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(OperationStatus, String)

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

InvalidPluginExecutionException(OperationStatus)

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

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

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

InvalidPluginExecutionException(String, PluginHttpStatusCode)

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

InvalidPluginExecutionException(String)

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

Properties

Name Description
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

Name Description
GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to