/// <summary> /// The async query request method. /// </summary> /// <param name="stateInfo">The thread object state.</param> private void AsyncDeleteThread1(Object stateInfo) { // Get the query result. bool data = _linqDataBase.DeleteCollectionPredicate(_predicate, _values); // If data exits then indicate that the asynchronous // operation has completed and send the result to the // client, else indicate that the asynchronous operation // has failed and did not complete. if (data) { base.Complete(data, true); } else { base.Complete(false); } }