May 11, 2014
Called by an application in order to stop the application extension service.
Assembly: System.Windows (in System.Windows.dll)
You can implement this method in order to stop your service and perform any necessary clean up.
This method is called after the Application.Exit event. If multiple services are registered, their methods are called in the reverse of the service registration sequence.
You cannot reliably perform asynchronous operations initiated within this method.