コード例 #1
0
        static bool OnExecuteReader(IAsyncResult result)
        {
            SqlCommandAsyncResult thisPtr = (SqlCommandAsyncResult)(result.AsyncState);

            return(thisPtr.CompleteExecuteReader(result));
        }
コード例 #2
0
        private static bool OnExecuteReader(IAsyncResult result)
        {
            SqlCommandAsyncResult asyncState = (SqlCommandAsyncResult)result.AsyncState;

            return(asyncState.CompleteExecuteReader(result));
        }