BackgroundOperationManagerStartRecurringBackgroundOperation(String, TimeSpan, Action) Method
Creates a new background operation and starts it. The background operation runs the given method at given intervals.
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public Task<BackgroundOperation> StartRecurringBackgroundOperation(
string name,
TimeSpan interval,
Action 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 Action
- The method to invoke at given intervals.
TaskBackgroundOperationA started background operation.