NavigationWindow.StopLoading Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stops further downloading of content for the current navigation request.
public:
virtual void StopLoading();
public:
void StopLoading();
public void StopLoading ();
abstract member StopLoading : unit -> unit
override this.StopLoading : unit -> unit
member this.StopLoading : unit -> unit
Public Sub StopLoading ()
Examples
The following example shows how to call the StopLoading method to stop navigation to content before it has finished being downloaded.
void navigateStopButton_Click(object sender, RoutedEventArgs e)
{
this.StopLoading();
}
Private Sub navigateStopButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
Me.StopLoading()
End Sub
Remarks
StopLoading stops the download of the requested content, and causes the NavigationStopped event to be raised.
See NavigationService.StopLoading.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา