Microsoft SDK for Java

getWaitHint

This method of the Service Class determines the wait hint.

Syntax

public synchronized int getWaitHint();

Return Value

Returns the service wait hint.

Remarks

The wait hint value specifies the number of milliseconds the service is likely to remain in the current pending state. If the service exceeds this value, the service will be terminated if the assassin is enabled.

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