Click or drag to resize

BackgroundOperation Constructor

Creates a new background operation that runs the method in separate task.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public BackgroundOperation(
	string vaultName,
	string name,
	CancellationToken cancellationToken,
	Action<BackgroundOperation> method
)

Parameters

vaultName
Type: SystemString
The name of the vault where this background operation is running.
name
Type: SystemString
The name of the background operation.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token, that is used to cancel the running background operation.
method
Type: SystemActionBackgroundOperation
The method to invoke. The background operation will be passed to the method.
See Also