Enum ResultStatus
Represents the status of a Result object.
Namespace: SimpleResults
Assembly: SimpleResults.dll
Syntax
public enum ResultStatus
Fields
| Name | Description |
|---|---|
| ByteArrayFile | Represents a status where the service returns the contents of a file as an array of bytes. |
| Conflict | Represents a status where a service is in conflict due to the current state of a resource. |
| Created | Represents a status in which the service successfully creates a resource. |
| CriticalError | Represents a status where unexpected behavior has occurred and the service does not know how to handle it (e.g., database connection error). |
| Failure | Represents a failed status. |
| Forbidden | Represents a status where the user does not have permission to perform some action. |
| Invalid | Represents a status in which the consumer has provided invalid data. |
| NotFound | Represents a status where a service was unable to find a requested resource. |
| Ok | Represents a successful status. |
| StreamFile | Represents a status where the service returns the contents of a file as a stream. |
| Unauthorized | Represents a status where a user does not have valid authentication credentials for the target resource. |