Click or drag to resize

OnDemandLocalFileSystem.ValidateData 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.Synchronization.OnDemandCallbackContext
The callback context. This is an opaque object that can be passed to the AcknowledgeData method.
relativePath
Type: System.String
The relative file path.
requiredOffset
Type: System.Int64
The required data offset.
requiredCount
Type: System.Int64
The required count of bytes.
flags
Type: callback.ShellBoost.Core.Synchronization.OnDemandDataValidationFlags
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