IFileSystemItemWindowsDeleteCompletionAsync Method |
Namespace: ITHit.FileSystem.Windows
Task DeleteCompletionAsync( IOperationContext operationContext, IInSyncStatusResultContext inSyncResultContext, CancellationToken cancellationToken = null )
This method is called after you call the ReturnConfirmationResult method from the DeleteAsync(IOperationContext, IConfirmationResultContext, CancellationToken) method implementation or the DeleteAsync(IOperationContext, IConfirmationResultContext, CancellationToken) method completes without exceptions. This method is NOT called if the ReturnErrorResult(CloudFileStatus) is called from the DeleteAsync(IOperationContext, IConfirmationResultContext, CancellationToken) or any exception is thrown in it.
Setting the SetInSync property of the inSyncResultContext parameter to false has the same affect as throwing an exception inside this method.