Manages ASP.NET application domains for an ASP.NET hosting application.
Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|Close||Shuts down all application domains.|
|CreateObject(IApplicationHost, Type)||Creates an object for the specified application domain, based on type.|
|CreateObject(String, Type, String, String, Boolean)||Creates an object for the specified application domain based on type, virtual and physical paths, and a Boolean value indicating failure behavior when an object of the specified type already exists.|
|CreateObject(String, Type, String, String, Boolean, Boolean)||Creates an object for the specified application domain based on type, virtual and physical paths, a Boolean value indicating failure behavior when an object of the specified type already exists, and a Boolean value indicating whether hosting initialization error exceptions are thrown.|
|CreateObjRef||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetAppDomain(IApplicationHost)||Gets the application domain of an application using the specified host.|
|GetAppDomain(String)||Gets the application domain of the specified application.|
|GetApplicationManager||Returns the single instance of the object associated with this ASP.NET host process.|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetObject||Returns the registered object of the specified type from the specified application.|
|GetRunningApplications||Returns a snapshot of running applications.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Gives the application domain an infinite lifetime by preventing a lease from being created. (Overrides MarshalByRefObject.InitializeLifetimeService().)|
|IsIdle||Returns a value indicating whether all applications hosted by the process are idle and not processing requests.|
|Open||Makes a thread-safe increment to the user reference count of the application manager instance.|
|ShutdownAll||Unloads all application resources.|
|ShutdownApplication||Unloads the specified application.|
|StopObject||Removes the specified object from the list of registered objects in an application. If the object to be removed is the last remaining object in the list of registered objects in an application, the application is unloaded.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The object provides lifetime management of objects in the hosting environment for an ASP.NET application. It is responsible for:
Activating and initializing ASP.NET applications.
Managing the application lifetime and the lifetime of objects registered in the application.
Exposing objects used by the hosting environment to process ASP.NET application requests.
Providing a list of applications running in the hosting process at any given moment.