Click or drag to resize

OnDemandLocalFileSystemAcknowledgeData Method

Acknowledges the data when requested by the ValidateData method.

Namespace:  ShellBoost.Core.Synchronization
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
protected virtual int AcknowledgeData(
	OnDemandCallbackContext callbackContext,
	string relativePath,
	long offset,
	long count,
	int errorCode,
	OnDemandAcknowledgeDataFlags flags = OnDemandAcknowledgeDataFlags.None
)

Parameters

callbackContext
Type: ShellBoost.Core.SynchronizationOnDemandCallbackContext
The callback context.
relativePath
Type: SystemString
The relative file path.
offset
Type: SystemInt64
The offset.
count
Type: SystemInt64
The count.
errorCode
Type: SystemInt32
The error code.
flags (Optional)
Type: ShellBoost.Core.SynchronizationOnDemandAcknowledgeDataFlags
Optional flags.

Return Value

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