UICancelOption Enumeration
.NET Framework (current version)
Specifies whether an exception is thrown if the user clicks Cancel during an operation.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
| Member name | Description | |
|---|---|---|
| DoNothing | Do nothing when the user clicks Cancel. | |
| ThrowException | Throw an exception when the user clicks Cancel. |
This enumeration determines whether an OperationCanceledException is thrown when a user clicks Cancel during an operation. In either case, the operation is canceled.
.NET Framework
Available since 2.0
Available since 2.0
Show: