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 override bool OnStop( int timeout )
Protected Overrides Function OnStop ( _ timeout As Integer _ ) As Boolean
protected: virtual bool OnStop( int timeout ) override
protected 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.