Example #1
0
 /// <remarks/>
 public void FindItemsAsync(string folder, BooleanOperatorEnum BooleanOperator, SearchCondition[] Conditions,
                            object userState)
 {
     if ((_findItemsOperationCompleted == null))
     {
         _findItemsOperationCompleted = new SendOrPostCallback(OnFindItemsOperationCompleted);
     }
     InvokeAsync("FindItems", new object[]
                                  {
                                      folder,
                                      BooleanOperator,
                                      Conditions
                                  }, _findItemsOperationCompleted, userState);
 }
Example #2
0
 /// <remarks/>
 public IAsyncResult BeginFindItems(string folder, BooleanOperatorEnum BooleanOperator,
                                    SearchCondition[] Conditions, AsyncCallback callback, object asyncState)
 {
     return BeginInvoke("FindItems", new object[]
                                         {
                                             folder,
                                             BooleanOperator,
                                             Conditions
                                         }, callback, asyncState);
 }
Example #3
0
 /// <remarks/>
 public void FindItemsAsync(string folder, BooleanOperatorEnum BooleanOperator, SearchCondition[] Conditions)
 {
     FindItemsAsync(folder, BooleanOperator, Conditions, null);
 }
Example #4
0
 public CatalogItem[] FindItems(string folder, BooleanOperatorEnum BooleanOperator, SearchCondition[] Conditions)
 {
     object[] results = Invoke("FindItems", new object[]
                                                {
                                                    folder,
                                                    BooleanOperator,
                                                    Conditions
                                                });
     return ((CatalogItem[]) (results[0]));
 }