/// <summary> /// Returns the status of a script. /// </summary> /// <param name="appId">appId identifies the application to use.</param> /// <param name="scriptId">scriptID identifies the script to use.</param> /// <returns>ScriptStatus object (a sub-class of the StatusType class). /// This status may be Running, NotRunning, or Failed. /// (Failure results from a failure error code or internal EAC errors).</returns> public StatusType GetScriptStatus(string appId, string scriptId) { var scriptType = new FullyQualifiedScriptIDType { applicationID = appId, scriptID = scriptId }; return(scriptSvc.getScriptStatus(scriptType)); }
/// <summary> /// Stops the named script. /// </summary> /// <param name="appId">appId identifies the application to use.</param> /// <param name="scriptId">scriptID identifies the script to use.</param> public void StopScript(string appId, string scriptId) { var scriptType = new FullyQualifiedScriptIDType { applicationID = appId, scriptID = scriptId }; scriptSvc.stopScript(scriptType); }
/// <summary> /// Returns the status of a script. /// </summary> /// <param name="appId">appId identifies the application to use.</param> /// <param name="scriptId">scriptID identifies the script to use.</param> /// <returns>ScriptStatus object (a sub-class of the StatusType class). /// This status may be Running, NotRunning, or Failed. /// (Failure results from a failure error code or internal EAC errors).</returns> public StatusType GetScriptStatus(string appId, string scriptId) { var scriptType = new FullyQualifiedScriptIDType { applicationID = appId, scriptID = scriptId }; return scriptSvc.getScriptStatus(scriptType); }
/// <remarks/> public void stopScriptAsync(FullyQualifiedScriptIDType stopScriptInput, object userState) { if ((this.stopScriptOperationCompleted == null)) { this.stopScriptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnstopScriptOperationCompleted); } this.InvokeAsync("stopScript", new object[] { stopScriptInput}, this.stopScriptOperationCompleted, userState); }
/// <remarks/> public void stopScriptAsync(FullyQualifiedScriptIDType stopScriptInput) { this.stopScriptAsync(stopScriptInput, null); }
/// <remarks/> public void getScriptStatusAsync(FullyQualifiedScriptIDType getScriptStatusInput, object userState) { if ((this.getScriptStatusOperationCompleted == null)) { this.getScriptStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetScriptStatusOperationCompleted); } this.InvokeAsync("getScriptStatus", new object[] { getScriptStatusInput}, this.getScriptStatusOperationCompleted, userState); }
/// <remarks/> public void getScriptStatusAsync(FullyQualifiedScriptIDType getScriptStatusInput) { this.getScriptStatusAsync(getScriptStatusInput, null); }
/// <remarks/> public System.IAsyncResult BeginstopScript(FullyQualifiedScriptIDType stopScriptInput, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("stopScript", new object[] { stopScriptInput}, callback, asyncState); }
/// <remarks/> public System.IAsyncResult BegingetScriptStatus(FullyQualifiedScriptIDType getScriptStatusInput, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("getScriptStatus", new object[] { getScriptStatusInput}, callback, asyncState); }