Microsoft.VisualStudio.Project.SolutionListener.OnQueryCloseSolution C# (CSharp) Method