Click or drag to resize

OnDemandLocalFileSystemValidateData Method

Validates the data of an On-Demand file.

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

Parameters

callbackContext
Type: 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: 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