InvalidPluginExecutionException Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents an exception that occurred during plug-in execution.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Xrm.Sdk.InvalidPluginExecutionException
Syntax
[SerializableAttribute]
public sealed class InvalidPluginExecutionException : Exception,
ISerializable
<SerializableAttribute>
Public NotInheritable Class InvalidPluginExecutionException
Inherits Exception
Implements ISerializable
Constructors
Name | Description | |
---|---|---|
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, 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. |
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) |
|
ErrorCode | Gets the numeric code that identifies a specific error condition. |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
Status | Gets the status of the plug-in exception. |
|
TargetSite | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetObjectData(SerializationInfo, StreamingContext) | Sets the SerializationInfo with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType() | (Inherited from Exception.) |
|
ToString() | (Inherited from Exception.) |
Remarks
When thrown by a plug-in, the Microsoft Dynamics 365 platform displays the exception message in a dialog of the Web application.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Sdk Namespace
Handle exceptions in plug-ins
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright