Microsoft SDK for Java

getAssassinTimeout

This method of the Service Class obtains the default time for which the assassin will wait for any state change before terminating a service. The time-out initially defaults to 30 seconds.

Syntax

protected void getAssassinTimeout(long ms);

Return Value

Returns the time, in milliseconds, that the assassin will wait for a state change before terminating the service.

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