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