Click or drag to resize

IFileWindowsCloseCompletionAsync Method

IT Hit User File System
Called when a file is being closed.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.1.26727.0-Beta2
Task CloseCompletionAsync(
	IOperationContext operationContext,
	IResultContext context,
	CancellationToken cancellationToken


Type: ITHit.FileSystemIOperationContext
Provides information about the environment.
Type: ITHit.FileSystemIResultContext
Used to report progress and status to the platform.
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
A task object that can be awaited.

This method does not require a confirmation or returning any result. The context is provided for reporting progress and status to the platform if required.

Note that this method is also called for a file that was deleted and does not exists in the user file system.

See Also