Click or drag to resize

OnDemandLocalFileSystemValidateData Method

Validates the data of an On-Demand file.

Namespace:  callback.ShellBoost.Core.Synchronization
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
protected virtual int ValidateData(
	OnDemandCallbackContext callbackContext,
	string relativePath,
	long requiredOffset,
	long requiredCount,
	OnDemandDataValidationFlags flags
)

Parameters

callbackContext
Type: callback.ShellBoost.Core.SynchronizationOnDemandCallbackContext
The callback context. This is an opaque object that can be passed to the AcknowledgeData method.
relativePath
Type: SystemString
The relative file path.
requiredOffset
Type: SystemInt64
The required data offset.
requiredCount
Type: SystemInt64
The required count of bytes.
flags
Type: callback.ShellBoost.Core.SynchronizationOnDemandDataValidationFlags
Optional informative flags.

Return Value

Type: Int32
0 if operation was successful; otherwise an error code.
Exceptions
ExceptionCondition
ArgumentException callbackContext is null or invalid or requiredOffset is invalid or requiredCount is invalid
See Also