Click or drag to resize

OnDemandLocalFileSystemUpdateOnDemandEntry Method

Updates an on demand file or folder entry from an entry information.

Namespace:  ShellBoost.Core.Synchronization
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
protected virtual int UpdateOnDemandEntry(
	string localRelativePath,
	StateSyncEntry entry,
	bool throwOnError = true
)

Parameters

localRelativePath
Type: SystemString
The local relative directory path.
entry
Type: ShellBoost.Core.SynchronizationStateSyncEntry
The entry information to use to create the On-Demand entry.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
0 if operation was successful; otherwise an error code.
Exceptions
ExceptionCondition
ArgumentNullExceptionlocalRelativePath is null or entry is null.
ArgumentExceptionlocalRelativePath is a rooted path.
See Also