IFileWindowsOpenCompletionAsync Method |
IT Hit User File System
Called when a file is being opened.
Namespace:
ITHit.FileSystem.Windows
Assembly:
ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.3.27213.0
Syntax Task OpenCompletionAsync(
IOperationContext operationContext,
IResultContext context,
CancellationToken cancellationToken
)
Function OpenCompletionAsync (
operationContext As IOperationContext,
context As IResultContext,
cancellationToken As CancellationToken
) As Task
Task^ OpenCompletionAsync(
IOperationContext^ operationContext,
IResultContext^ context,
CancellationToken cancellationToken
)
abstract OpenCompletionAsync :
operationContext : IOperationContext *
context : IResultContext *
cancellationToken : CancellationToken -> Task
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:
TaskA 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.
See Also