Exemple #1
0
        public IAsyncResult BeginExecute(Query query, AsyncCallback callback, object state)
        {
            var ar = query.BeginSessionExecute(this, null, callback, state);

            lock (_startedActons)
                _startedActons.Add(ar);
            return(ar);
        }
Exemple #2
0
 public IAsyncResult BeginExecute(Query query, AsyncCallback callback, object state)
 {
     return query.BeginSessionExecute(this, null, callback, state);
 }
Exemple #3
0
 public IAsyncResult BeginExecute(Query query, AsyncCallback callback, object state)
 {
     var ar = query.BeginSessionExecute(this, null, callback, state) as AsyncResultNoResult;
     _startedActons.TryAdd(ar.Id, ar) ;
     return ar;
 }
 public IAsyncResult BeginExecute(Query query, AsyncCallback callback, object state)
 {
     return(query.BeginSessionExecute(this, null, callback, state));
 }