Places an object in the list of registered objects for the application.
Assembly: System.Web (in System.Web.dll)
The ApplicationManager class enables methods outside the current application domain to create, manage, and destroy objects inside the current application domain. The method is used to register previously created objects with the hosting environment. Objects registered with the method must implement the IRegisteredObject interface.
To use a registered object, follow these steps:
Create a new instance of your registered object by calling the ApplicationManager.CreateObject method.
Call a type-specific method to initialize your new object. In the initialization method, call the method to add the object to the list of registered objects.
Call the ApplicationManager.GetObject method to return the registered object when required.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.