BackgroundOperation Constructor

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

Definition

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

Parameters

vaultName  String
The name of the vault where this background operation is running.
name  String
The name of the background operation.
cancellationToken  CancellationToken
The cancellation token, that is used to cancel the running background operation.
method  ActionBackgroundOperation
The method to invoke. The background operation will be passed to the method.

See Also