NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NTServiceDirect.ServiceControlCallback Delegate

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.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the NTServiceDirect.ServiceControlCallback delegate declaration.

Remarks

[To be supplied.]

Requirements

Namespace: System.ServiceProcess

Assembly: System.ServiceProcess.dll

See Also

System.ServiceProcess Namespace