Microsoft SDK for Java

StopServiceEventHandler

This method of the Service Class internally stops the service. Sets the service to STOPPED. No more control commands will be dispatched after this method is called.

Syntax

protected void StopServiceEventHandler(int waithint);

Note   This method is provided only for backward compatibility with services developed using the Microsoft SDK for Java version 1.5.1. The preferred way to indicate a stopped service is by using setStopped. Version 1.5.1 reported a STOP_PENDING status and activated the assassin with the given waithint; a STOPPED status would automatically be reported when all non-daemon threads terminated. Because multiple services are supported, this version simply reports a STOPPED status and does not activate the assassin.

Parameters

waithint This parameter is not used.

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