Stops listening to events. Execution is blocked until the container is fully stopped or the specified timeout elapses.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public bool Stop( int timeout )
Public Function Stop ( _ timeout As Integer _ ) As Boolean
public: virtual bool Stop( int timeout ) sealed
public final boolean Stop( int timeout )
Parameters
- timeout (Int32)
- Maximum time to wait for container to stop (in milliseconds).
Return Value
true if the container managed to stop before the specified timeout elapsed, false otherwise.