ANHAdmin.AsyncOperation.Cancel C# (CSharp) 메소드

Cancel() 공개 메소드

Attempt to cancel the current operation. This returns immediately to the caller. No guarantee is made as to whether the operation will be successfully cancelled. All that can be known is that at some point, one of the three events Completed, Cancelled, or Failed will be raised at some point.
public Cancel ( ) : void
리턴 void
        public virtual void Cancel()
        {
            lock (this)
            {
                cancelledFlag = true;
            }
        }