Example #1
0
        /// <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));
        }
Example #2
0
        /// <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);
        }
Example #3
0
 /// <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);
 }
Example #4
0
 /// <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);
 }
Example #5
0
 /// <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);
 }
Example #6
0
 /// <remarks/>
 public void stopScriptAsync(FullyQualifiedScriptIDType stopScriptInput)
 {
     this.stopScriptAsync(stopScriptInput, null);
 }
Example #7
0
 /// <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);
 }
Example #8
0
 /// <remarks/>
 public void getScriptStatusAsync(FullyQualifiedScriptIDType getScriptStatusInput)
 {
     this.getScriptStatusAsync(getScriptStatusInput, null);
 }
Example #9
0
 /// <remarks/>
 public System.IAsyncResult BeginstopScript(FullyQualifiedScriptIDType stopScriptInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("stopScript", new object[] {
                 stopScriptInput}, callback, asyncState);
 }
Example #10
0
 /// <remarks/>
 public System.IAsyncResult BegingetScriptStatus(FullyQualifiedScriptIDType getScriptStatusInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("getScriptStatus", new object[] {
                 getScriptStatusInput}, callback, asyncState);
 }