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 );
ServiceBase Class | ServiceBase Members | System.ServiceProcess Namespace