代码改变世界

IHttpAsyncHandler

2009-12-10 09:33  蜡笔小旧  阅读(669)  评论(0编辑  收藏  举报

if (applicationInstance is )
{
    IHttpAsyncHandler handler2 = (IHttpAsyncHandler) applicationInstance;
    context.AsyncAppHandler = handler2;
    handler2.BeginProcessRequest(context, this._handlerCompletionCallback, context);
}
else
{
    applicationInstance.ProcessRequest(context);
    this.FinishRequest(context.WorkerRequest, context, null);
}

 

FK__aspnet_Us__UserI__30F848ED