Share via


NavigationService.StopLoading Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Stops asynchronous navigations that have not yet been processed.

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

Syntax

'Declaration
Public Sub StopLoading
public void StopLoading()

Remarks

The StopLoading method cancels an asynchronous navigation request that has not been completed. The StopLoading method raises the NavigationStopped event if there is an asynchronous navigation request to cancel.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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