This topic has not yet been rated - Rate this topic

UICancelOption Enumeration

Updated: September 2008

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

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

Member Name

Description

DoNothing

Do nothing when the user clicks Cancel.

ThrowException

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)

Date

History

Reason

September 2008

Changed exception listed in the "Remarks" section to OperationCanceledException.

Customer feedback.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ