This documentation is archived and is not being maintained.

UICancelOption Enumeration 

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

This enumeration determines whether an IOException is thrown when a user clicks Cancel during an operation. In either case, the operation is canceled.

Member Name Description


Do nothing when the user clicks Cancel.


Throw an exception when the user clicks Cancel.

Namespace: Microsoft.VisualBasic.FileIO

Class: UICancelOption

Platforms: Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows NT Workstation 4.0, Windows NT Server 4.0, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, .NET Compact Framework - Mobile Phone, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)