UICancelOption Enumeration

 

Specifies whether an exception is thrown if the user clicks Cancel during an operation.

Namespace:   Microsoft.VisualBasic.FileIO
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public enum UICancelOption

Member nameDescription
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
Return to top
Show: