The CMSHttpApplication type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CMSHttpApplication |
Methods
Name | Description | |
---|---|---|
AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler) | Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnEndRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnLogRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler) | Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostAuthenticateRequest event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostAuthorizeRequest to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler) | Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler) | Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler) | Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler) | Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler) | Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
AddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object) | Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request. (Inherited from HttpApplication.) | |
Application_End |
Application end event handler.
| |
Application_Error |
Application error event handler.
| |
CompleteRequest | Causes ASP.NET to bypass all events and filtering in the HTTP pipeline chain of execution and directly execute the EndRequest event. (Inherited from HttpApplication.) | |
Dispose | Disposes the HttpApplication instance. (Inherited from HttpApplication.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetOutputCacheProviderName | Gets the name of the default output-cache provider that is configured for a Web site. (Inherited from HttpApplication.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVaryByCustomString |
Custom cache parameters processing.
(Overrides HttpApplication GetVaryByCustomString(HttpContext, String).) | |
Init | Executes custom initialization code after all event handler modules have been added. (Inherited from HttpApplication.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PreInit |
Pre-initializes the web application
| |
Session_End |
Session end event handler.
| |
Session_Start |
Session start event handler.
| |
SessionEnd |
Fires the session end event
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
Name | Description | |
---|---|---|
Application | Gets the current state of an application. (Inherited from HttpApplication.) | |
Context | Gets HTTP-specific information about the current request. (Inherited from HttpApplication.) | |
Events | Gets the list of event handler delegates that process all application events. (Inherited from HttpApplication.) | |
Modules | Gets the collection of modules for the current application. (Inherited from HttpApplication.) | |
Request | Gets the intrinsic request object for the current request. (Inherited from HttpApplication.) | |
Response | Gets the intrinsic response object for the current request. (Inherited from HttpApplication.) | |
Server | Gets the intrinsic server object for the current request. (Inherited from HttpApplication.) | |
Session | Gets the intrinsic session object that provides access to session data. (Inherited from HttpApplication.) | |
Site | Gets or sets a site interface for an IComponent implementation. (Inherited from HttpApplication.) | |
User | Gets the intrinsic user object for the current request. (Inherited from HttpApplication.) |
Events
Name | Description | |
---|---|---|
AcquireRequestState | Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request. (Inherited from HttpApplication.) | |
AuthenticateRequest | Occurs when a security module has established the identity of the user. (Inherited from HttpApplication.) | |
AuthorizeRequest | Occurs when a security module has verified user authorization. (Inherited from HttpApplication.) | |
BeginRequest | Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request. (Inherited from HttpApplication.) | |
Disposed | Occurs when the application is disposed. (Inherited from HttpApplication.) | |
EndRequest | Occurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request. (Inherited from HttpApplication.) | |
Error | Occurs when an unhandled exception is thrown. (Inherited from HttpApplication.) | |
LogRequest | Occurs just before ASP.NET performs any logging for the current request. (Inherited from HttpApplication.) | |
MapRequestHandler | Occurs when the handler is selected to respond to the request. (Inherited from HttpApplication.) | |
PostAcquireRequestState | Occurs when the request state (for example, session state) that is associated with the current request has been obtained. (Inherited from HttpApplication.) | |
PostAuthenticateRequest | Occurs when a security module has established the identity of the user. (Inherited from HttpApplication.) | |
PostAuthorizeRequest | Occurs when the user for the current request has been authorized. (Inherited from HttpApplication.) | |
PostLogRequest | Occurs when ASP.NET has completed processing all the event handlers for the LogRequest event. (Inherited from HttpApplication.) | |
PostMapRequestHandler | Occurs when ASP.NET has mapped the current request to the appropriate event handler. (Inherited from HttpApplication.) | |
PostReleaseRequestState | Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored. (Inherited from HttpApplication.) | |
PostRequestHandlerExecute | Occurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution. (Inherited from HttpApplication.) | |
PostResolveRequestCache | Occurs when ASP.NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache. (Inherited from HttpApplication.) | |
PostUpdateRequestCache | Occurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache. (Inherited from HttpApplication.) | |
PreRequestHandlerExecute | Occurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service). (Inherited from HttpApplication.) | |
PreSendRequestContent | Occurs just before ASP.NET sends content to the client. (Inherited from HttpApplication.) | |
PreSendRequestHeaders | Occurs just before ASP.NET sends HTTP headers to the client. (Inherited from HttpApplication.) | |
ReleaseRequestState | Occurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data. (Inherited from HttpApplication.) | |
ResolveRequestCache | Occurs when ASP.NET finishes an authorization event to let the caching modules serve requests from the cache, bypassing execution of the event handler (for example, a page or an XML Web service). (Inherited from HttpApplication.) | |
UpdateRequestCache | Occurs when ASP.NET finishes executing an event handler in order to let caching modules store responses that will be used to serve subsequent requests from the cache. (Inherited from HttpApplication.) |
See Also