Alexandria.AlexandriaManager.AddBackgroundOperation C# (CSharp) Method

AddBackgroundOperation() public method

Add a background operation.
public AddBackgroundOperation ( string name, string description ) : BackgroundOperation
name string
description string
return BackgroundOperation
        public BackgroundOperation AddBackgroundOperation(string name, string description, params BackgroundOperationCallback[] callbacks)
        {
            BackgroundOperation operation = new BackgroundOperation(this, name, description, callbacks);
            lock(BackgroundOperations)
                BackgroundOperations.Add(operation);
            return operation;
        }