2010-09-20 38 views

回答

1

System.Web.HttpContext.Current對象包括當前ServerResponseRequest等情況。

2

我很難理解你的問題,但是有可能你正在尋找HttpContext.Current

var context = HttpContext.Current; 
// now you can use context.Request, context.Response, context.Server, etc.