Execute container logic that should be done when the container is stopped, this method should not block.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
protected abstract bool OnStop( int timeout )
Protected MustOverride Function OnStop ( _ timeout As Integer _ ) As Boolean
protected: virtual bool OnStop( int timeout ) abstract
protected abstract boolean OnStop( int timeout )
Parameters
- timeout (Int32)
- Maximum time to wait for container to stop (in milliseconds).
Return Value
Returns true if container was stopped, false otherwise.