Click or drag to resize

BackgroundOperationManager Methods

The BackgroundOperationManager type exposes the following members.

Methods
  NameDescription
Public methodCancelAll
Cancels all background operations.
Public methodCancelAllAndWaitForFinish
Sends the request for cancelling the background operations and waits for them to finish.
Public methodCreateBackgroundOperation(String, Action)
Creates a new background operation. The background operations runs the given method at given intervals. Must be separately started.
Public methodCreateBackgroundOperation(String, ActionBackgroundOperation)
Creates a new background operation. The background operations runs the given method at given intervals. Must be separately started.
Public methodDispose
Force disposing.
Public methodGetBackgroundOperations
Returns all created background operations, that have not been cancelled and finished.
Public methodGetCancellationTokenForUninitialization
Returns a cancellation token, that gets cancelled, when the vault goes offline.
Public methodRunOnce(String, Action)
Runs the given action in a background task.
Public methodRunOnce(String, ActionBackgroundOperation)
Runs the given action in a background task.
Public methodStartRecurringBackgroundOperation(String, TimeSpan, Action)
Creates a new background operation and starts it. The background operation runs the given method at given intervals.
Public methodStartRecurringBackgroundOperation(String, TimeSpan, ActionBackgroundOperation)
Creates a new background operation and starts it. The background operation runs the given method at given intervals.
Top
See Also