CompiledScript.StartScriptTimeWatcher (Método)
Definición
Mide el tiempo de ejecución de una parte específica de un script y alerta si se supera el umbral de tiempo.
Ver también Time Watcher
public void StartScriptTimeWatcher(string name, WatcherType wt, TimeSpan threshold)
Parámetros
cadena de nombre wt WatcherType
umbral TimeSpanEjemplos
StartScriptTimeWatcher ("ScriptTimeWatcher_2", WatcherType.Alert, "10sec".ToDuration ());