WebViewControlLongRunningScriptDetectedEventArgs.StopPageScriptExecution 속성

정의

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

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

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

속성 값

Boolean

bool

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

설명

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

적용 대상