public sealed class HttpContext : IServiceProvider {
// Public Constructors
public
HttpContext (HttpRequest
request , HttpResponse
response );
public
HttpContext (HttpWorkerRequest
wr );
// Public Static Properties
public static HttpContext
Current {set; get; }
// Public Instance Properties
public Exception[ ]
AllErrors {get; }
public HttpApplicationState
Application {get; }
public HttpApplication
ApplicationInstance {set; get; }
public Cache
Cache {get; }
public Exception
Error {get; }
public IHttpHandler
Handler {set; get; }
public bool
IsCustomErrorEnabled {get; }
public bool
IsDebuggingEnabled {get; }
public IDictionary
Items {get; }
public HttpRequest
Request {get; }
public HttpResponse
Response {get; }
public HttpServerUtility
Server {get; }
public HttpSessionState
Session {get; }
public bool
SkipAuthorization {set; get; }
public DateTime
Timestamp {get; }
public TraceContext
Trace {get; }
public IPrincipal
User {set; get; }
// Public Static Methods
public static object
GetAppConfig (string
name );
// Public Instance Methods
public void
AddError (Exception
errorInfo );
public void
ClearError ( );
public object
GetConfig (string
name );
public void
RewritePath (string
path );
public void
RewritePath (string
filePath , string
pathInfo , string
queryString );
}