Delegate for the main callback called by NT when starting a service.
[Visual Basic] Public Delegate Sub NTServiceDirect.ServiceMainCallback( _ ByVal argCount As Integer, _ ByVal argPointer As Integer _ ) [C#] public delegate void NTServiceDirect.ServiceMainCallback( int argCount, int argPointer ); [C++] public __gc __delegate void NTServiceDirect.ServiceMainCallback( int argCount, int argPointer );
[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.
The declaration of your event-handling method must have the same parameters as the NTServiceDirect.ServiceMainCallback delegate declaration.
[To be supplied.]
Namespace: System.ServiceProcess
Assembly: System.ServiceProcess.dll