Specifies whether an exception is thrown if the user clicks Cancel during an operation.
| C# | Visual Basic |
public enum UICancelOption
Public Enumeration UICancelOption
| Member | Description |
|---|---|
| DoNothing |
Do nothing when the user clicks Cancel.
|
| ThrowException |
Throw an exception when the user clicks Cancel.
|
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|