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.4.27341.0
Syntax Task ValidateDataAsync(
long offset,
long length,
IValidateDataOperationContext operationContext,
IValidateDataResultContext resultContext
)
Function ValidateDataAsync (
offset As Long,
length As Long,
operationContext As IValidateDataOperationContext,
resultContext As IValidateDataResultContext
) As Task
Task^ ValidateDataAsync(
long long offset,
long long length,
IValidateDataOperationContext^ operationContext,
IValidateDataResultContext^ resultContext
)
abstract ValidateDataAsync :
offset : int64 *
length : int64 *
operationContext : IValidateDataOperationContext *
resultContext : IValidateDataResultContext -> Task
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:
TaskA 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