IApplicationService.StopService Method


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.

For more information, see Application Extension Services.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions