Microsoft SDK for Java

handleStop

This method of the Service Class handles the stop request.

Syntax

protected boolean handleStop();

Return Value

Returns false.

Remarks

Override this method in your derived service class if you want your service to handle stop events. By default, if stop control requests are accepted, it will call the setStopped method and return false.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.