This documentation is archived and is not being maintained.
IProcessInitializer.Startup Method
.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Performs initialization at startup. Called when Dllhost.exe is started.
[Visual Basic] Sub Startup( _ <InteropServices.In()> ByVal punkProcessControl As Object _ ) [C#] void Startup( [ In ] object punkProcessControl ); [C++] void Startup( [ In ] Object* punkProcessControl ); [JScript] function Startup( punkProcessControl : Object );
Parameters
- punkProcessControl
- In Microsoft Windows XP, a pointer to the IUnknown interface of the COM component starting up. In Microsoft Windows 2000, this argument is always a null reference (Nothing in Visual Basic).
Remarks
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.
Requirements
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
IProcessInitializer Interface | IProcessInitializer Members | System.EnterpriseServices Namespace
Show: