System.Web.PowerShell.HttpPowerShellHost.NotifyEndApplication C# (CSharp) Method