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 탐색을 시작한 동일한 스레드에서 호출 해야 합니다.

적용 대상

추가 정보