Exemple #1
0
        protected static IAsyncResult dlgt_BeginInvoke(Foo dlgt, TestRfcommPort port, PORT_EV eventId,
                                                       AsyncCallback callback, object state)
        {
#if true || PocketPC
            FooParams args = new FooParams(dlgt, port, eventId);
            AsyncNoResult <FooParams> ar = new AsyncNoResult <FooParams>(callback, state, args);
            ThreadPool.QueueUserWorkItem(dlgt_Runner, ar);
            return(ar);
#else
            arDlgt = dlgt.BeginInvoke(port, eventId, null, null); // NETCF-ok
#endif
        }
 public Foo(FooParams myParams)
 {
     _myParams = myParams;
 }
 public partial ValueTask <int> RecordsAffectedViaReturnAsync(DbConnection connection, FooParams parameters);