Condividi tramite


WebViewLongRunningScriptDetectedEventArgs Classe

Definizione

Fornisce dati per l'evento WebView.LongRunningScriptDetected .

public ref class WebViewLongRunningScriptDetectedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WebViewLongRunningScriptDetectedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WebViewLongRunningScriptDetectedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WebViewLongRunningScriptDetectedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WebViewLongRunningScriptDetectedEventArgs
Public NotInheritable Class WebViewLongRunningScriptDetectedEventArgs
Ereditarietà
Object Platform::Object IInspectable WebViewLongRunningScriptDetectedEventArgs
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Proprietà

ExecutionTime

Ottiene il numero di millisecondi in cui il controllo WebView ha eseguito uno script a esecuzione prolungata.

StopPageScriptExecution

Interrompe l'esecuzione di uno script a esecuzione prolungata in un controllo WebView .

Si applica a

Vedi anche