Integration point for deriving classes, called before dispose.
By default does nothing

C# | Visual Basic | Visual C++ | J# |
protected virtual void BeforeDispose()
Protected Overridable Sub BeforeDispose
protected: virtual void BeforeDispose()
protected void BeforeDispose()