Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApplicationManager::GetApplicationManager Method ()

 

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

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

public:
static ApplicationManager^ GetApplicationManager()

Return Value

Type: System.Web.Hosting::ApplicationManager^

The single instance of the ApplicationManager object associated with the ASP.NET host process that is running.

Only one instance of the ApplicationManager object is created by an ASP.NET host process in the default application domain. If an instance of the ApplicationManager class is not available, the GetApplicationManager method first creates an instance of the ApplicationManager class and then returns the newly created object. If an instance of the ApplicationManager class was previously created, the GetApplicationManager method returns the existing object.

The following code example uses the GetApplicationManager method to retrieve the ApplicationManager instance for a Web application.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: