Microsoft SDK for Java

canPause

This method of the Service Class indicates whether the service can be paused.

Syntax

public synchronized boolean canPause();

Return Value

Returns true if the service can be paused (that is, if getControlsAccepted returns ACCEPT_PAUSE_CONTINUE); otherwise, returns false.

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