Delegate for the callback called by NT to control a service.
[Visual Basic] Public Delegate Sub NTServiceDirect.ServiceControlCallback( _ ByVal control As Integer _ ) [C#] public delegate void NTServiceDirect.ServiceControlCallback( int control ); [C++] public __gc __delegate void NTServiceDirect.ServiceControlCallback( int control );
[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.ServiceControlCallback delegate declaration.
[To be supplied.]
Namespace: System.ServiceProcess
Assembly: System.ServiceProcess.dll