예제 #1
0
        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));
        }
예제 #2
0
 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));
 }
예제 #3
0
 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);
 }
예제 #4
0
 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);
 }
예제 #5
0
 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;
 }