Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IApplicationService.StopService Method

May 11, 2014

Called by an application in order to stop the application extension service.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

void StopService()

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 StopService methods are called in the reverse of the service registration sequence.

You cannot reliably perform asynchronous operations initiated within this method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft