An NSFileManager object sends this message if an error occurs during an attempt to copy to a given path.
Original signature is '- (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error copyingItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate bool FileManagerShouldProceedAfterErrorCopyingItemAtPathToPathEventHandler( NSFileManager fileManager, NSError error, NSString srcPath, NSString dstPath )
Public Delegate Function FileManagerShouldProceedAfterErrorCopyingItemAtPathToPathEventHandler ( _ fileManager As NSFileManager, _ error As NSError, _ srcPath As NSString, _ dstPath As NSString _ ) As Boolean
public delegate bool FileManagerShouldProceedAfterErrorCopyingItemAtPathToPathEventHandler( NSFileManager^ fileManager, NSError^ error, NSString^ srcPath, NSString^ dstPath )
Parameters
- fileManager (NSFileManager)
- The NSFileManager object that sent this message.
- error (NSError)
- The error that occurred during the attempt to copy.
- srcPath (NSString)
- The path or a file or directory that fileManager is attempting to copy.
- dstPath (NSString)
- The path or a file or directory to which fileManager is attempting to copy.
Return Value
YES if the operation should proceed, otherwise NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)