NavigationService.StopLoading 메서드

정의

현재 탐색 요청에 대한 콘텐츠의 추가 다운로드를 중지합니다.

public:
 void StopLoading();
public void StopLoading();
member this.StopLoading : unit -> unit
Public Sub StopLoading ()

예제

다음 예제에서는 로드를 중지하는 방법을 보여 줍니다.

void stopButton_Click(object sender, RoutedEventArgs e)
{
    this.NavigationService.StopLoading();
}
Private Sub stopButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    Me.NavigationService.StopLoading()
End Sub

설명

StopLoading 는 반환되는 즉시 Navigate 호출할 수 있으며 자식 프레임에서 진행 중인 탐색을 중지할 수 있습니다.

(Frame)

메서드를 호출하면 StopLoading 이벤트가 발생합니다 NavigationStopped .

메모

StopLoading 는 탐색을 시작한 동일한 스레드에서 호출되어야 합니다.

적용 대상

추가 정보