Export (0) Print
Expand All

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
public enum UICancelOption
public enum UICancelOption

 Member nameDescription
DoNothingDo nothing when the user clicks Cancel
ThrowExceptionThrow an exception when the user clicks Cancel

For more detailed information, see the Visual Basic topic UICancelOption Enumeration.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft