This method of the DWebBrowserEvents2 interface notifies an application that the Microsoft® Internet Explorer application is ready to quit.
public void OnQuit();