OnDemandLocalFileSystemHydrateDataAsync Method |
Hydrates the data of an On-Demand file.
Namespace:
ShellBoost.Core.Synchronization
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax protected virtual Task<int> HydrateDataAsync(
OnDemandCallbackContext callbackContext,
string relativePath,
long offset,
long count,
Stream output
)
Parameters
- callbackContext
- Type: ShellBoost.Core.SynchronizationOnDemandCallbackContext
The callback context. This is an opaque object that can be passed to the ReportProgress method. - relativePath
- Type: SystemString
The relative file path. - offset
- Type: SystemInt64
The data offset. - count
- Type: SystemInt64
The count of bytes to fetch. - output
- Type: System.IOStream
The output stream.
Return Value
Type:
TaskInt320 if operation was successful; otherwise an error code.
Exceptions See Also