IProcessInitializer.Startup Method (Object)

 

Performs initialization at startup. Called when Dllhost.exe is started.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

void Startup(
	object punkProcessControl
)

Parameters

punkProcessControl
Type: System.Object

In Microsoft Windows XP, a pointer to the IUnknown interface of the COM component starting up. In Microsoft Windows 2000, this argument is always null.

The object referenced by punkProcessControl implements an IProcessInitControl interface. IProcessInitControl supports the single method ResetInitializerTimeout.

The initialization code in Startup can call the ResetInitializerTimeout, with the time-out set equal to the number of seconds remaining before the startup of the component times out.

.NET Framework
Available since 1.1
Return to top
Show: