OperationError Class
Definition
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.
Encapsulates an error from an operation.
public sealed class OperationError
type OperationError = class
Public NotInheritable Class OperationError
- Inheritance
-
OperationError
Constructors
| Name | Description |
|---|---|
| OperationError(Exception) |
Initializes a new instance of the OperationError class. |
Properties
| Name | Description |
|---|---|
| Exception |
Gets the exception associated with the error. |
| Message |
Gets the message associated with the error. |
Methods
| Name | Description |
|---|---|
| ToString() |
Returns a string representation of the error. |