private System.IAsyncResult OnBeginSearchPrincipals(object[] inValues, System.AsyncCallback callback, object asyncState) { string searchText = ((string)(inValues[0])); int maxResults = ((int)(inValues[1])); Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType = ((Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType)(inValues[2])); return(this.BeginSearchPrincipals(searchText, maxResults, principalType, callback, asyncState)); }
private System.IAsyncResult OnBeginResolvePrincipals(object[] inValues, System.AsyncCallback callback, object asyncState) { Apress.SharePoint.WP7.Personal.PeopleSvc.ArrayOfString principalKeys = ((Apress.SharePoint.WP7.Personal.PeopleSvc.ArrayOfString)(inValues[0])); Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType = ((Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType)(inValues[1])); bool addToUserInfoList = ((bool)(inValues[2])); return(this.BeginResolvePrincipals(principalKeys, principalType, addToUserInfoList, callback, asyncState)); }
public void SearchPrincipalsAsync(string searchText, int maxResults, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType, object userState) { if ((this.onBeginSearchPrincipalsDelegate == null)) { this.onBeginSearchPrincipalsDelegate = new BeginOperationDelegate(this.OnBeginSearchPrincipals); } if ((this.onEndSearchPrincipalsDelegate == null)) { this.onEndSearchPrincipalsDelegate = new EndOperationDelegate(this.OnEndSearchPrincipals); } if ((this.onSearchPrincipalsCompletedDelegate == null)) { this.onSearchPrincipalsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSearchPrincipalsCompleted); } base.InvokeAsync(this.onBeginSearchPrincipalsDelegate, new object[] { searchText, maxResults, principalType }, this.onEndSearchPrincipalsDelegate, this.onSearchPrincipalsCompletedDelegate, userState); }
public void SearchPrincipalsAsync(string searchText, int maxResults, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType) { this.SearchPrincipalsAsync(searchText, maxResults, principalType, null); }
private System.IAsyncResult BeginSearchPrincipals(string searchText, int maxResults, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType, System.AsyncCallback callback, object asyncState) { Apress.SharePoint.WP7.Personal.PeopleSvc.SearchPrincipalsRequest inValue = new Apress.SharePoint.WP7.Personal.PeopleSvc.SearchPrincipalsRequest(); inValue.Body = new Apress.SharePoint.WP7.Personal.PeopleSvc.SearchPrincipalsRequestBody(); inValue.Body.searchText = searchText; inValue.Body.maxResults = maxResults; inValue.Body.principalType = principalType; return(((Apress.SharePoint.WP7.Personal.PeopleSvc.PeopleSoap)(this)).BeginSearchPrincipals(inValue, callback, asyncState)); }
public void ResolvePrincipalsAsync(Apress.SharePoint.WP7.Personal.PeopleSvc.ArrayOfString principalKeys, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType, bool addToUserInfoList, object userState) { if ((this.onBeginResolvePrincipalsDelegate == null)) { this.onBeginResolvePrincipalsDelegate = new BeginOperationDelegate(this.OnBeginResolvePrincipals); } if ((this.onEndResolvePrincipalsDelegate == null)) { this.onEndResolvePrincipalsDelegate = new EndOperationDelegate(this.OnEndResolvePrincipals); } if ((this.onResolvePrincipalsCompletedDelegate == null)) { this.onResolvePrincipalsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnResolvePrincipalsCompleted); } base.InvokeAsync(this.onBeginResolvePrincipalsDelegate, new object[] { principalKeys, principalType, addToUserInfoList }, this.onEndResolvePrincipalsDelegate, this.onResolvePrincipalsCompletedDelegate, userState); }
public void ResolvePrincipalsAsync(Apress.SharePoint.WP7.Personal.PeopleSvc.ArrayOfString principalKeys, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType, bool addToUserInfoList) { this.ResolvePrincipalsAsync(principalKeys, principalType, addToUserInfoList, null); }
private System.IAsyncResult BeginResolvePrincipals(Apress.SharePoint.WP7.Personal.PeopleSvc.ArrayOfString principalKeys, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType, bool addToUserInfoList, System.AsyncCallback callback, object asyncState) { Apress.SharePoint.WP7.Personal.PeopleSvc.ResolvePrincipalsRequest inValue = new Apress.SharePoint.WP7.Personal.PeopleSvc.ResolvePrincipalsRequest(); inValue.Body = new Apress.SharePoint.WP7.Personal.PeopleSvc.ResolvePrincipalsRequestBody(); inValue.Body.principalKeys = principalKeys; inValue.Body.principalType = principalType; inValue.Body.addToUserInfoList = addToUserInfoList; return(((Apress.SharePoint.WP7.Personal.PeopleSvc.PeopleSoap)(this)).BeginResolvePrincipals(inValue, callback, asyncState)); }
public SearchPrincipalsRequestBody(string searchText, int maxResults, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType) { this.searchText = searchText; this.maxResults = maxResults; this.principalType = principalType; }
public ResolvePrincipalsRequestBody(Apress.SharePoint.WP7.Personal.PeopleSvc.ArrayOfString principalKeys, Apress.SharePoint.WP7.Personal.PeopleSvc.SPPrincipalType principalType, bool addToUserInfoList) { this.principalKeys = principalKeys; this.principalType = principalType; this.addToUserInfoList = addToUserInfoList; }