OnDemandLocalFileSystemReportProgressToShell Method (OnDemandLocalFileSystem, String, Int64, Int64, Boolean) |
Report progress to the Shell.
Namespace:
ShellBoost.Core.Synchronization
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static int ReportProgressToShell(
OnDemandLocalFileSystem fileSystem,
string fullPath,
long total,
long completed,
bool notifyShell = true
)
Parameters
- fileSystem
- Type: 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 See Also