ANHAdmin.AsyncOperation.Start C# (CSharp) Method

Start() public method

Launch the operation on a worker thread. This method will return immediately, and the operation will start asynchronously on a worker thread.
public Start ( ) : void
return void
        public void Start()
        {
            lock (this)
            {
                if (isRunning)
                {
                    throw new AlreadyRunningException();
                }
                // Set this flag here, not inside InternalStart, to avoid
                // race condition when Start called twice in quick
                // succession.
                isRunning = true;
            }
            new MethodInvoker(InternalStart).BeginInvoke(null, null);
        }