OperationResult 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.
Represents the result of an operation.
public class OperationResult
type OperationResult = class
Public Class OperationResult
- Inheritance
-
OperationResult
Constructors
| Name | Description |
|---|---|
| OperationResult() | |
Properties
| Name | Description |
|---|---|
| Errors |
Gets an IEnumerable<T> of OperationError instances indicating errors that occurred during the operation. |
| Succeeded |
Gets a flag indicating whether the operation succeeded. |
| Success |
Returns an OperationResult indicating a successful operation. |
Methods
| Name | Description |
|---|---|
| Failed(OperationError[]) |
Creates an OperationResult indicating a failed operation, with a list of |
| ToString() |
Converts the value of the current OperationResult object to its equivalent string representation. |