Implement this method to execute some tasks when Autodesk Revit shuts down. 
   Namespace:   Autodesk.Revit.UI  
  Assembly:   RevitAPIUI  (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0) 
Syntax
| C# | 
|---|
   |  
| Visual Basic | 
|---|
   |  
| Visual C++ | 
|---|
   |  
Parameters
- application
 -  Type:  Autodesk.Revit.UI UIControlledApplication  
A handle to the application being shut down.