Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manages ASP.NET application domains for an ASP.NET hosting application.
public ref class ApplicationManager sealed : MarshalByRefObject
public sealed class ApplicationManager : MarshalByRefObject
type ApplicationManager = class inherit MarshalByRefObject
Public NotInheritable Class ApplicationManager Inherits MarshalByRefObject
The ApplicationManager 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.
Shuts down all application domains.
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.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject)
Determines whether the specified object is equal to the current object.(Inherited from Object)
Gets the application domain of an application using the specified host.
Gets the application domain of the specified application.
Returns the single instance of the ApplicationManager object associated with this ASP.NET host process.
Serves as the default hash function.(Inherited from Object)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Returns the registered object of the specified type from the specified application.
Returns a snapshot of running applications.
Gets the Type of the current instance.(Inherited from Object)
Gives the application domain an infinite lifetime by preventing a lease from being created.
Returns a value indicating whether all applications hosted by the process are idle and not processing requests.
Creates a shallow copy of the current Object.(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject)
Makes a thread-safe increment to the user reference count of the application manager instance.
Unloads all application resources.
Unloads the specified application.
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.
Returns a string that represents the current object.(Inherited from Object)