Click or drag to resize

OnDemandLocalFileSystemReportProgressToShell Method (OnDemandLocalFileSystem, String, Int64, Int64, Boolean)

Report progress to the Shell.

Namespace:  callback.ShellBoost.Core.Synchronization
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int ReportProgressToShell(
	OnDemandLocalFileSystem fileSystem,
	string fullPath,
	long total,
	long completed,
	bool notifyShell = true
)

Parameters

fileSystem
Type: callback.ShellBoost.Core.SynchronizationOnDemandLocalFileSystem
The file system. May be null.
fullPath
Type: SystemString
The absolute full path.
total
Type: SystemInt64
The total number of bytes.
completed
Type: SystemInt64
The current number of bytes.
notifyShell (Optional)
Type: SystemBoolean
true to notify the Shell; false otherwise.

Return Value

Type: Int32
0 if operation was successful; otherwise an error code.
Exceptions
ExceptionCondition
ArgumentNullExceptionfullPath is null.
ArgumentExceptionfullPath is not rooted.
See Also