C# Class NLight.IO.Interop.Win32CopyEx

PInvoke wrapper for CopyEx http://msdn.microsoft.com/en-us/library/windows/desktop/aa363852.aspx
Afficher le fichier Open project: slorion/nlight

Méthodes publiques

Méthode Description
Copy ( string source, string destination, OverwriteMode overwriteMode, CopyOptions options, CancellationToken cancellationToken = null, long>.Action progressCallback = null ) : Task

Private Methods

Méthode Description
CopyFileEx ( string lpExistingFileName, string lpNewFileName, CopyProgressRoutine lpProgressRoutine, IntPtr lpData, Int32 &pbCancel, CopyFileFlags dwCopyFlags ) : bool

Method Details

Copy() public static méthode

public static Copy ( string source, string destination, OverwriteMode overwriteMode, CopyOptions options, CancellationToken cancellationToken = null, long>.Action progressCallback = null ) : Task
source string
destination string
overwriteMode OverwriteMode
options CopyOptions
cancellationToken System.Threading.CancellationToken
progressCallback long>.Action
Résultat Task