コード例 #1
0
ファイル: API.ashx.cs プロジェクト: zangai/Brakel-Login
        /// <summary>
        /// Entrypoint for the request handeling (Called by the ASP.NET runtime, do not invoke manually!)
        /// </summary>
        /// <param name="context">The current HttpContext</param>
        /// <param name="cb">The AsyncCallback</param>
        /// <param name="extraData">Extra data object</param>
        /// <returns>The AsyncResult</returns>
        public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
        {
            AsynchOperation asynch = new AsynchOperation(cb, context, extraData);

            asynch.StartAsyncWork();
            return(asynch);
        }
コード例 #2
0
ファイル: API.ashx.cs プロジェクト: zangai/Brakel-Login
 /// <summary>
 /// Entrypoint for the request handeling (Called by the ASP.NET runtime, do not invoke manually!)
 /// </summary>
 /// <param name="context">The current HttpContext</param>
 /// <param name="cb">The AsyncCallback</param>
 /// <param name="extraData">Extra data object</param>
 /// <returns>The AsyncResult</returns>
 public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
 {
     AsynchOperation asynch = new AsynchOperation(cb, context, extraData);
     asynch.StartAsyncWork();
     return asynch;
 }