Object. Closing Event
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a communication object transitions into the closing state.
public: virtual event EventHandler ^ Closing;
public event EventHandler Closing;
member this.Closing : EventHandler
Public Custom Event Closing As EventHandler
Public Event Closing As EventHandler
The Closing event is raised by the OnClosing method which is called by the Close and BeginClose methods.