Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties, and on the CultureInfo object.
GetSection(String)
Gets a specified configuration section for the current application's default configuration.
GetType()
Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone()
Creates a shallow copy of the current Object. (Inherited from Object)
RemapHandler(IHttpHandler)
Enables you to specify a handler for the request.
RewritePath(String)
Rewrites the URL using the given path.
RewritePath(String, Boolean)
Rewrites the URL using the given path and a Boolean value that specifies whether the virtual path for server resources is modified.
RewritePath(String, String, String)
Rewrites the URL by using the given path, path information, and query string information.
RewritePath(String, String, String, Boolean)
Rewrites the URL using the given virtual path, path information, query string information, and a Boolean value that specifies whether the client file path is set to the rewrite path.
SetAbort
Set
the flag of a transaction during processing scripts in an ASP page to about for
the script in a transaction has not completed. Therefore the Component Services
should not update those related resources even other participating components in
the transaction has completed.
SetComplete
Set
the flag of a transaction during processing scripts in an ASP page to complete
for the script in a transaction has completed. Therefore the Component Services
can check with other participating components in the transaction whether these
participating components has completed or not. If all participating components
in the transaction has completed and call SetComplete then the related resources
can be updated.
ToString()
Returns a string that represents the current object. (Inherited from Object)
Properties
Property
Description
AllErrors
Gets an array of errors accumulated while processing an HTTP request.
Application
Gets the HttpApplicationState object for the current HTTP request.
ApplicationInstance
Gets or sets the HttpApplication object for the current HTTP request.
Cache
Gets the Cache object for the current application domain.
Current
Gets or sets the HttpContext object for the current HTTP request.
CurrentHandler
Gets the IHttpHandler object that represents the currently executing handler.
CurrentNotification
Gets a RequestNotification value that indicates the current HttpApplication event that is processing.
Error
Gets the first error (if any) accumulated during HTTP request processing.
Handler
Gets or sets the IHttpHandler object responsible for processing the HTTP request.
IsCustomErrorEnabled
Gets a value indicating whether custom errors are enabled for the current HTTP request.
IsDebuggingEnabled
Gets a value indicating whether the current HTTP request is in debug mode.
IsPostNotification
Gets a value that is the current processing point in the ASP.NET pipeline just after an HttpApplication event has finished processing.
Items
Gets a key/value collection that can be used to organize and share data between an IHttpModule interface and an IHttpHandler interface during an HTTP request.
PreviousHandler
Gets the IHttpHandler object for the parent handler.
Profile
Gets the ProfileBase object for the current user profile.
Request
Gets the HttpRequest object for the current HTTP request.
Response
Gets the HttpResponse object for the current HTTP response.
Server
Gets the HttpServerUtility object that provides methods used in processing Web requests.
Session
Gets the HttpSessionState object for the current HTTP request.
SkipAuthorization
Gets or sets a value that specifies whether the UrlAuthorizationModule object should skip the authorization check for the current request.
Timestamp
Gets the initial timestamp of the current HTTP request.
Trace
Gets the TraceContext object for the current HTTP response.
User
Gets or sets security information for the current HTTP request.
Explicit Interface Implementations
Explicit Interface
Description
IServiceProvider.GetService(Type)
Returns an object for the current service type.
Events
Event
Description
OnTransactionAbort
Event occurs
when the transaction has been aborted for whatever reason or processing error.
An optional corresponding event subroutine with the reserved name
OnTransactionAbout can be used to handle the case of about event occur.
OnTransactionCommit
Event occurs
when the transaction has been committed or completed without any processing
error. An optional corresponding event subroutine with the reserved name
OnTransactionCommit can be used to handle the case of completed or committed
event occur.
Remarks
The ASP file must contain the @TRANSACTION directive, in order to declare the
page runs in a transaction.
In a transaction, the processing of the page will be finished with a declaration
of the transaction is either succeed with all other participating components in
the transaction has completed or fail when one of the participating components
in the transaction has failed or not completed.
The properties and events of ASP ObjectContext object can be grouped into