BackgroundOperationManager Constructor
Initializes new BackgroundOperationManager object.
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public BackgroundOperationManager(
string vaultName,
VaultApplicationBase vaultApp = null
)
Parameters
- vaultName String
- The name of the vault in which the manager is running.
- vaultApp VaultApplicationBase (Optional)
-
The vault application using this manager.
- This is optional, but when provided in the constructor
- the ApplicationRunningState will be taken into account
- when scheduling operations for execution to ensure the
- vault application is in the running state before
- attempting to schedule and execute.
- This prevents a potential OperationCanceledException in
- instances where the operations has been scheduled from
- the StartApplication() method and the app is still
- initializing.