Response.End()是否被认为是有害的?
Response.End()
public void End(){
if (this._context.IsInCancellablePeriod)
{
InternalSecurityPermissions.ControlThread.Assert();
Thread.CurrentThread.Abort(new HttpApplication.CancelModuleException(false));
}
else if (!this._flushing)
{
this.Flush();
this._ended = true;
if (this._context.ApplicationInstance != null)
{
this._context.ApplicationInstance.CompleteRequest();
}
}}Response.End()Application.Exit()Response.End()try...finally
Response.End().
Response.End()Response.Close()HttpContext.Current.ApplicationInstance.CompleteRequest()?
Response.End
Response.End()
HttpResponse
Response.End()
Response.Close()
不适用于正常的HTTP请求处理。
CompleteRequest()
CompleteRequest
EndRequest
HttpApplication
CompleteRequest
牧羊人nacy
拉丁的传说
Smart猫小萌
随时随地看视频慕课网APP