BackgroundOperationManager Class |
Namespace: MFiles.VAF.Common
public class BackgroundOperationManager : IDisposable
The BackgroundOperationManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | BackgroundOperationManager |
Initializes new BackgroundOperationManager object.
|
Name | Description | |
---|---|---|
![]() | CancelAll |
Cancels all background operations.
|
![]() | CancelAllAndWaitForFinish |
Sends the request for cancelling the background operations and waits for them to finish.
|
![]() | CreateBackgroundOperation(String, Action) |
Creates a new background operation. The background operations runs the given method at given intervals. Must be separately started.
|
![]() | CreateBackgroundOperation(String, ActionBackgroundOperation) |
Creates a new background operation. The background operations runs the given method at given intervals. Must be separately started.
|
![]() | Dispose |
Force disposing.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetBackgroundOperations |
Returns all created background operations, that have not been cancelled and finished.
|
![]() | GetCancellationTokenForUninitialization |
Returns a cancellation token, that gets cancelled, when the vault goes offline.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RunOnce(String, Action) |
Runs the given action in a background task.
|
![]() | RunOnce(String, ActionBackgroundOperation) |
Runs the given action in a background task.
|
![]() | StartRecurringBackgroundOperation(String, TimeSpan, Action) |
Creates a new background operation and starts it. The background operation runs the given method at given intervals.
|
![]() | StartRecurringBackgroundOperation(String, TimeSpan, ActionBackgroundOperation) |
Creates a new background operation and starts it. The background operation runs the given method at given intervals.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | OperationStarting |
Triggered when a background operation starts.
|
![]() | OperationStopping |
Triggered when a background operation stops.
|