BackgroundOperationManagerStartRecurringBackgroundOperation(String, TimeSpan, ActionBackgroundOperation) Method

Creates a new background operation and starts it. The background operation runs the given method at given intervals.


Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public Task<BackgroundOperation> StartRecurringBackgroundOperation(
	string name,
	TimeSpan interval,
	Action<BackgroundOperation> method


name  String
The name of the operation.
interval  TimeSpan
The target interval between method calls. If the method call takes longer than the interval, the method will be invoked immediately after the previous method call returns.
method  ActionBackgroundOperation
The method to invoke at given intervals.

Return Value

A started background operation.

See Also