# Result enum

Namespace: [Rhino.Commands](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.commands.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v5.0

```cs
public enum Result
```

Defines enumerated constant values for several command result types.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Success | 0 | Command worked. |
| Cancel | 1 | User canceled command. |
| Nothing | 2 | Command did nothing but cancel was not pressed. |
| Failure | 3 | Command failed (bad input, computational problem, etc.) |
| UnknownCommand | 4 | Command not found (user probably had a typo in command name). |
| CancelModelessDialog | 5 | Commands canceled and modeless dialog. |
| ExitRhino | 268435455 | exit RhinoCommon. |
