Click or drag to resize

IFileWindowsValidateDataAsync Method

IT Hit User File System
Validates data after reading from remote storage.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.3.27213.0
Syntax
Task ValidateDataAsync(
	long offset,
	long length,
	IValidateDataOperationContext operationContext,
	IValidateDataResultContext resultContext
)

Parameters

offset
Type: SystemInt64
File content offset, in bytes, for specifying the range of data to validate.
length
Type: SystemInt64
Data length to validate, in bytes.
operationContext
Type: ITHit.FileSystemIValidateDataOperationContext
Provides additional parameters for this operation and information about the environment.
resultContext
Type: ITHit.FileSystemIValidateDataResultContext
Context for returning results of the validation, reporting operation progress and status to the platform.

Return Value

Type: Task
A task object that can be awaited.
Remarks
The sync root property [!:StorageProviderSyncRootInfo.HydrationPolicyModifier] must contain the [!:StorageProviderHydrationPolicyModifier.ValidationRequired] flag for this method to be called by the Engine.
See Also