The ApplicationManager class enables methods outside the current application domain to create, manage, and destroy objects inside the current application domain. The RegisterObject method is used to register previously created objects with the hosting environment. Objects registered with the RegisterObject method must implement the IRegisteredObject interface.
The following code example is an implementation of a Start method for a registered object. For the full code required to run the example, see the Example section of the IRegisteredObject interface overview topic.