CompiledScript.StartScriptTimeWatcher, méthode
Définition
Mesure le temps d’exécution d’une partie spécifiée d’un script et alerte si le seuil de temps est dépassé.
Voir aussi Time Watcher
public void StartScriptTimeWatcher(string name, WatcherType wt, TimeSpan threshold)
Paramètres
chaîne de nom wt WatcherType
seuil TimeSpan (en)Exemples
StartScriptTimeWatcher ("ScriptTimeWatcher_2", WatcherType.Alert, "10sec".ToDuration ());