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.ServiceMainCallback Delegate

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.

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

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

Remarks

[To be supplied.]

Requirements

Namespace: System.ServiceProcess

Assembly: System.ServiceProcess.dll

See Also

System.ServiceProcess Namespace