Exemplo n.º 1
0
        public BatchStatusType GetUtilityStatus(string appId, string token)
        {
            var param = new FullyQualifiedUtilityTokenType {
                applicationID = appId, token = token
            };
            var status =
                (BatchStatusType)ExecRetry(delegate { return(utilSvc.getStatus(param)); });

            return(status);
        }
Exemplo n.º 2
0
 public BatchStatusType GetUtilityStatus(string appId, string token)
 {
     var param = new FullyQualifiedUtilityTokenType {applicationID = appId, token = token};
     var status =
         (BatchStatusType) ExecRetry(delegate { return utilSvc.getStatus(param); });
     return status;
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void stopAsync(FullyQualifiedUtilityTokenType stopUtilityInput, object userState)
 {
     if ((this.stopOperationCompleted == null))
     {
         this.stopOperationCompleted = new System.Threading.SendOrPostCallback(this.OnstopOperationCompleted);
     }
     this.InvokeAsync("stop", new object[] {
                 stopUtilityInput}, this.stopOperationCompleted, userState);
 }
Exemplo n.º 4
0
 /// <remarks/>
 public void stopAsync(FullyQualifiedUtilityTokenType stopUtilityInput)
 {
     this.stopAsync(stopUtilityInput, null);
 }
Exemplo n.º 5
0
 /// <remarks/>
 public void getStatusAsync(FullyQualifiedUtilityTokenType getUtilityStatusInput, object userState)
 {
     if ((this.getStatusOperationCompleted == null))
     {
         this.getStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetStatusOperationCompleted);
     }
     this.InvokeAsync("getStatus", new object[] {
                 getUtilityStatusInput}, this.getStatusOperationCompleted, userState);
 }
Exemplo n.º 6
0
 /// <remarks/>
 public void getStatusAsync(FullyQualifiedUtilityTokenType getUtilityStatusInput)
 {
     this.getStatusAsync(getUtilityStatusInput, null);
 }
Exemplo n.º 7
0
 /// <remarks/>
 public System.IAsyncResult Beginstop(FullyQualifiedUtilityTokenType stopUtilityInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("stop", new object[] {
                 stopUtilityInput}, callback, asyncState);
 }
Exemplo n.º 8
0
 /// <remarks/>
 public System.IAsyncResult BegingetStatus(FullyQualifiedUtilityTokenType getUtilityStatusInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("getStatus", new object[] {
                 getUtilityStatusInput}, callback, asyncState);
 }