Click or drag to resize

OnDemandLocalFileSystemCancelHydrateData Method

Cancels data hydration process.

Namespace:  ShellBoost.Core.Synchronization
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
protected virtual int CancelHydrateData(
	OnDemandCallbackContext callbackContext,
	string relativePath,
	long offset,
	long count,
	OnDemandCancelFlags flags
)

Parameters

callbackContext
Type: ShellBoost.Core.SynchronizationOnDemandCallbackContext
The callback context.
relativePath
Type: SystemString
The relative file path.
offset
Type: SystemInt64
The data offset.
count
Type: SystemInt64
The count of bytes to fetch.
flags
Type: ShellBoost.Core.SynchronizationOnDemandCancelFlags
The flags.

Return Value

Type: Int32
0 if operation was successful; otherwise an error code.
Exceptions
ExceptionCondition
ArgumentNullExceptioncallbackContext is null
ArgumentExceptioncount is invalid or offset is invalid.
See Also