Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpContextBase Properties

HttpContextBase Properties

The HttpContextBase type exposes the following members.

  Name Description
Public property AllErrors When overridden in a derived class, gets an array of errors (if any) that accumulated when an HTTP request was being processed.
Public property AllowAsyncDuringSyncStages When implemented in a derived class, gets or sets a value that indicates whether asynchronous operations are allowed during parts of ASP.NET request processing when they are not expected.
Public property Application When overridden in a derived class, gets the HttpApplicationState object for the current HTTP request.
Public property ApplicationInstance When overridden in a derived class, gets or sets the HttpApplication object for the current HTTP request.
Public property AsyncPreloadMode When implemented in a derived class, gets or sets an object that contains flags that pertain to asynchronous preload mode.
Public property Cache When overridden in a derived class, gets the Cache object for the current application domain.
Public property CurrentHandler When overridden in a derived class, gets the IHttpHandler object that represents the handler that is currently executing.
Public property CurrentNotification When overridden in a derived class, gets a RequestNotification value that indicates the HttpApplication event that is currently processing.
Public property Error When overridden in a derived class, gets the first error (if any) that accumulated when an HTTP request was being processed.
Public property Handler When overridden in a derived class, gets or sets the IHttpHandler object that is responsible for processing the HTTP request.
Public property IsCustomErrorEnabled When overridden in a derived class, gets a value that indicates whether custom errors are enabled for the current HTTP request.
Public property IsDebuggingEnabled When overridden in a derived class, gets a value that indicates whether the current HTTP request is in debug mode.
Public property IsPostNotification When overridden in a derived class, gets a value that indicates whether an HttpApplication event has finished processing.
Public property IsWebSocketRequest When implemented in a derived class, gets a value that indicates whether the request is an AspNetWebSocket connection request.
Public property IsWebSocketRequestUpgrading When implemented in a derived class, gets a value that indicates whether the connection is upgrading from an HTTP connection to an AspNetWebSocket connection.
Public property Items When overridden in a derived class, gets a key/value collection that can be used to organize and share data between a module and a handler during an HTTP request.
Public property PageInstrumentation When implemented in a derived class, gets a reference to the page-instrumentation service instance for this request.
Public property PreviousHandler When overridden in a derived class, gets the IHttpHandler object for the parent handler.
Public property Profile When overridden in a derived class, gets the ProfileBase object for the current user profile.
Public property Request When overridden in a derived class, gets the HttpRequest object for the current HTTP request.
Public property Response When overridden in a derived class, gets the HttpResponse object for the current HTTP response.
Public property Server When overridden in a derived class, gets the HttpServerUtility object that provides methods that are used when Web requests are being processed.
Public property Session When overridden in a derived class, gets the HttpSessionState object for the current HTTP request.
Public property SkipAuthorization When overridden in a derived class, gets or sets a value that specifies whether the UrlAuthorizationModule object should skip the authorization check for the current request.
Public property ThreadAbortOnTimeout When implemented in a derived class, gets or sets a value that specifies whether the ASP.NET runtime should call Thread.Abort on the thread that is servicing this request when the request times out.
Public property Timestamp When overridden in a derived class, gets the initial timestamp of the current HTTP request.
Public property Trace When overridden in a derived class, gets the TraceContext object for the current HTTP response.
Public property User When overridden in a derived class, gets or sets security information for the current HTTP request.
Public property WebSocketNegotiatedProtocol When implemented in a derived class, gets the negotiated protocol that was sent from the server to the client for an AspNetWebSocket connection.
Public property WebSocketRequestedProtocols When implemented in a derived class, gets the ordered list of protocols that were requested by the client.
Top
Show:
© 2015 Microsoft