Example #1
0
 public void GetItems(string search, ref rootItem itemPort)
 {
     object[] results = this.Invoke("GetItems", new object[] {
         search,
         itemPort
     });
     itemPort = ((rootItem)(results[0]));
 }
Example #2
0
 /// <remarks/>
 public void GetItemsAsync(string search, rootItem itemPort, object userState)
 {
     if ((this.GetItemsOperationCompleted == null))
     {
         this.GetItemsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetItemsOperationCompleted);
     }
     this.InvokeAsync("GetItems", new object[] {
         search,
         itemPort
     }, this.GetItemsOperationCompleted, userState);
 }
        public void getItems(string search)
        {
            // Create an instance of the WebService

            // Make an Asynchronous Call by calling
            // the Begin method of the proxy class
            object mlock = new object();
            lock (mlock)
            {
                this.itemroot = new rootItem();
                itemLock = true;
                try
                {
                    //_Service.GetItems(search, ref this.root);
                    _Service.GetItems(search, ref this.itemroot);
                    item = (itemroot.Item);
                }
                catch (Exception er)
                {
                    throw er;
                }
                itemLock = false;
            }
            // Do some process while the web
            // service is processing the request
        }
 /// <remarks/>
 public void GetItemsAsync(string search, rootItem itemPort, object userState) {
     if ((this.GetItemsOperationCompleted == null)) {
         this.GetItemsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetItemsOperationCompleted);
     }
     this.InvokeAsync("GetItems", new object[] {
                 search,
                 itemPort}, this.GetItemsOperationCompleted, userState);
 }
 /// <remarks/>
 public void GetItemsAsync(string search, rootItem itemPort) {
     this.GetItemsAsync(search, itemPort, null);
 }
 public void GetItems(string search, ref rootItem itemPort) {
     object[] results = this.Invoke("GetItems", new object[] {
                 search,
                 itemPort});
     itemPort = ((rootItem)(results[0]));
 }
Example #7
0
 /// <remarks/>
 public void GetItemsAsync(string search, rootItem itemPort)
 {
     this.GetItemsAsync(search, itemPort, null);
 }