ICommunicationObject.Closing Event  
Definition
Important
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 the communication object first enters the closing state.
public:
 event EventHandler ^ Closing;event EventHandler Closing;member this.Closing : EventHandler Event Closing As EventHandler Event Type
Remarks
This event occurs when the communication object first begins to transition from the Opened state into the Closed state, immediately after either the Close or BeginClose method is invoked.