System.Web.Hosting.ApplicationManager Members

The members of System.Web.Hosting.ApplicationManager are listed below.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

Close()

Shuts down all application domains.

CreateObject(string, Type, string, string, bool) : IRegisteredObject

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, bool, bool) : IRegisteredObject

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.

static
GetApplicationManager() : ApplicationManager

Returns the single instance of the System.Web.Hosting.ApplicationManager object associated with this ASP.NET host process.

GetObject(string, Type) : IRegisteredObject

Returns the registered object of the specified type from the specified application.

GetRunningApplications() : ApplicationInfo[]

Returns a snapshot of running applications.

override
InitializeLifetimeService() : object

Gives the application domain an infinite lifetime by preventing a lease from being created.

IsIdle() : bool

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(string)

Unloads the specified application.

StopObject(string, Type)

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.