64 references to UICancelOption
Microsoft.VisualBasic (1)
Microsoft.VisualBasic.cs (1)
54[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.VisualBasic.FileIO.UICancelOption))]
Microsoft.VisualBasic.Core (35)
Microsoft\VisualBasic\FileIO\FileSystem.vb (35)
379overwrite:=False, UIOptionInternal.NoUI, UICancelOption.ThrowException) 391overwrite, UIOptionInternal.NoUI, UICancelOption.ThrowException) 404overwrite:=False, ToUIOptionInternal(showUI), UICancelOption.ThrowException) 416Public Shared Sub CopyDirectory(ByVal sourceDirectoryName As String, ByVal destinationDirectoryName As String, ByVal showUI As UIOption, ByVal onUserCancel As UICancelOption) 428overwrite:=False, UIOptionInternal.NoUI, UICancelOption.ThrowException) 439overwrite, UIOptionInternal.NoUI, UICancelOption.ThrowException) 452overwrite:=False, ToUIOptionInternal(showUI), UICancelOption.ThrowException) 465Public Shared Sub CopyFile(ByVal sourceFileName As String, ByVal destinationFileName As String, ByVal showUI As UIOption, ByVal onUserCancel As UICancelOption) 493UIOptionInternal.NoUI, RecycleOption.DeletePermanently, UICancelOption.ThrowException) 504ToUIOptionInternal(showUI), recycle, UICancelOption.ThrowException) 515ByVal showUI As UIOption, ByVal recycle As RecycleOption, ByVal onUserCancel As UICancelOption) 525DeleteFileInternal(file, UIOptionInternal.NoUI, RecycleOption.DeletePermanently, UICancelOption.ThrowException) 535DeleteFileInternal(file, ToUIOptionInternal(showUI), recycle, UICancelOption.ThrowException) 548ByVal onUserCancel As UICancelOption) 561overwrite:=False, UIOptionInternal.NoUI, UICancelOption.ThrowException) 572overwrite, UIOptionInternal.NoUI, UICancelOption.ThrowException) 585overwrite:=False, ToUIOptionInternal(showUI), UICancelOption.ThrowException) 597Public Shared Sub MoveDirectory(ByVal sourceDirectoryName As String, ByVal destinationDirectoryName As String, ByVal showUI As UIOption, ByVal onUserCancel As UICancelOption) 609overwrite:=False, UIOptionInternal.NoUI, UICancelOption.ThrowException) 620overwrite, UIOptionInternal.NoUI, UICancelOption.ThrowException) 633overwrite:=False, ToUIOptionInternal(showUI), UICancelOption.ThrowException) 646Public Shared Sub MoveFile(ByVal sourceFileName As String, ByVal destinationFileName As String, ByVal showUI As UIOption, ByVal onUserCancel As UICancelOption) 894ByVal overwrite As Boolean, ByVal showUI As UIOptionInternal, ByVal onUserCancel As UICancelOption) 1042Overwrite, UIOptionInternal.NoUI, UICancelOption.ThrowException) 1093ByVal overwrite As Boolean, ByVal showUI As UIOptionInternal, ByVal onUserCancel As UICancelOption 1179ByVal showUI As UIOptionInternal, ByVal recycle As RecycleOption, ByVal onUserCancel As UICancelOption) 1219ByVal onUserCancel As UICancelOption) 1599ByVal FullSourcePath As String, ByVal FullTargetPath As String, ByVal ShowUI As UIOptionInternal, ByVal OnUserCancel As UICancelOption) 1665ByVal ShowUI As UIOptionInternal, ByVal recycle As RecycleOption, ByVal OnUserCancel As UICancelOption, ByVal FileOrDirectory As FileOrDirectory) 1694ByVal FullSource As String, ByVal FullTarget As String, ByVal OnUserCancel As UICancelOption, ByVal FileOrDirectory As FileOrDirectory) 1718If OnUserCancel = UICancelOption.ThrowException Then 2020Private Shared Sub VerifyUICancelOption(ByVal argName As String, ByVal argValue As UICancelOption) 2021If argValue = UICancelOption.DoNothing OrElse 2022argValue = UICancelOption.ThrowException Then 2026Throw New InvalidEnumArgumentException(argName, argValue, GetType(UICancelOption))
Microsoft.VisualBasic.Forms (28)
Microsoft\VisualBasic\Devices\Network.DownloadFile.vb (7)
128UICancelOption.ThrowException) 155onUserCancel As UICancelOption) 210UICancelOption.ThrowException) 241onUserCancel As UICancelOption) 288UICancelOption.ThrowException) 314onUserCancel As UICancelOption) 372AndAlso onUserCancel = UICancelOption.ThrowException _
Microsoft\VisualBasic\Devices\Network.UploadFile.vb (7)
111onUserCancel:=UICancelOption.ThrowException) 133onUserCancel As UICancelOption) 185onUserCancel:=UICancelOption.ThrowException) 207onUserCancel As UICancelOption) 243onUserCancel:=UICancelOption.ThrowException) 263onUserCancel As UICancelOption) 310If onUserCancel = UICancelOption.ThrowException And dialog.UserCanceledTheDialog Then
Microsoft\VisualBasic\MyServices\FileSystemProxy.vb (14)
213''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="UICancelOption.ThrowException"/>. 219onUserCancel As UICancelOption) 344''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="UICancelOption.ThrowException"/>. 350onUserCancel As UICancelOption) 445''' and UI cancel options to <see cref="UICancelOption.DoNothing"/>, or <see cref="UICancelOption.ThrowException"/>. 476''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="UICancelOption.ThrowException"/>. 482onUserCancel As UICancelOption) 542''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="UICancelOption.ThrowException"/>. 548onUserCancel As UICancelOption) 1040''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="UICancelOption.ThrowException"/>. 1046onUserCancel As UICancelOption) 1172''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="UICancelOption.ThrowException"/>. 1178onUserCancel As UICancelOption)