WebViewLongRunningScriptDetectedEventArgs.StopPageScriptExecution 속성

정의

WebView 컨트롤에서 실행되는 장기 실행 스크립트를 중지합니다.

public:
 property bool StopPageScriptExecution { bool get(); void set(bool value); };
bool StopPageScriptExecution();

void StopPageScriptExecution(bool value);
public bool StopPageScriptExecution { get; set; }
var boolean = webViewLongRunningScriptDetectedEventArgs.stopPageScriptExecution;
webViewLongRunningScriptDetectedEventArgs.stopPageScriptExecution = boolean;
Public Property StopPageScriptExecution As Boolean

속성 값

Boolean

bool

스크립트 를 중지하려면 true입니다. 그렇지 않으면 false입니다.

설명

중단된 스크립트는 WebView의 수명 동안 다시 시작되지 않습니다. 스크립트가 5초 후에도 계속 실행되면 앱이 중단됩니다. 스크립트가 실행된 기간을 확인하려면 ExecutionTime 속성을 검사.

적용 대상

추가 정보