System.ComponentModel.AsyncOperation.AsyncOperation C# (CSharp) Method

AsyncOperation() private method

Constructor. Protected to avoid unwitting usage - AsyncOperation objects are typically created by AsyncOperationManager calling CreateOperation.
private AsyncOperation ( object userSuppliedState, SynchronizationContext syncContext ) : System.Security.Permissions
userSuppliedState object
syncContext System.Threading.SynchronizationContext
return System.Security.Permissions
        private AsyncOperation(object userSuppliedState, SynchronizationContext syncContext)
        {
            this.userSuppliedState = userSuppliedState;
            this.syncContext = syncContext;
            this.alreadyCompleted = false;
            this.syncContext.OperationStarted();
        }