Click or drag to resize

OnDemandLocalFileSystem.HydrateDataAsync Method

Hydrates 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 Task<int> HydrateDataAsync(
	OnDemandCallbackContext callbackContext,
	string relativePath,
	long offset,
	long count,
	Stream output
)

Parameters

callbackContext
Type: callback.ShellBoost.Core.Synchronization.OnDemandCallbackContext
The callback context. This is an opaque object that can be passed to the ReportProgress method.
relativePath
Type: System.String
The relative file path.
offset
Type: System.Int64
The data offset.
count
Type: System.Int64
The count of bytes to fetch.
output
Type: System.IO.Stream
The output stream.

Return Value

Type: Task<Int32>
0 if operation was successful; otherwise an error code.
Exceptions
ExceptionCondition
ArgumentNullExceptioncallbackContext is null or output is null.
ArgumentException count is invalid or offset is invalid.
See Also