Microsoft SDK for Java

setAssassinTimeout

This method of the Service Class sets the time for which the assassin will wait for any state change before terminating a service.

Syntax

protected void setAssassinTimeout(long ms);

Parameters

ms The time, in milliseconds, for the assassin to wait for a state change before terminating the service.

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