BackgroundOperationManagerCreateBackgroundOperation Method (String, ActionBackgroundOperation) |
Creates a new background operation. The background operations runs the given method at given intervals. Must be separately started.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic BackgroundOperation CreateBackgroundOperation(
string name,
Action<BackgroundOperation> method
)
Public Function CreateBackgroundOperation (
name As String,
method As Action(Of BackgroundOperation)
) As BackgroundOperation
public:
BackgroundOperation^ CreateBackgroundOperation(
String^ name,
Action<BackgroundOperation^>^ method
)
Parameters
- name
- Type: SystemString
The name of the operation. - method
- Type: SystemActionBackgroundOperation
The method to invoke at given intervals.
Return Value
Type:
BackgroundOperationA new background operation, that is not yet started.
See Also