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.3.27213.0
Syntax
Task CloseCompletionAsync(
	IOperationContext operationContext,
	IResultContext context,
	CancellationToken cancellationToken
)

Parameters

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

Return Value

Type: Task
A task object that can be awaited.
Remarks

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