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!

ServiceBase.OnCustomCommand

Called when a custom command message is sent to to the service. This function is expected to be overridden if the CustomCommandsAccepted property is non-zero.

[Visual Basic]
Overridable Protected Sub OnCustomCommand( _
   ByVal command As Integer _
)
[C#]
protected virtual void OnCustomCommand(
   int command
);
[C++]
protected: virtual void OnCustomCommand(
   int command
);
[JScript]
protected function OnCustomCommand(
   command : int
);

Parameters

command
is the command message sent to the service.

See Also

ServiceBase Class | ServiceBase Members | System.ServiceProcess Namespace