public void GetProfileByUser( Identifier userId,
     out UserProfileType profile, out UserPictureInfo profilePictureInfo)
 {
     GetProfileByUserRequest request = new GetProfileByUserRequest() { UserId = userId };
     GetProfileByUserResponse response = CallWebService<
         IUserManagementServicev1_6, GetProfileByUserRequest, GetProfileByUserResponse>(
             m_service1_6, request, ( s, q ) => s.GetProfileByUser( q ) );
     profile = response.UserProfile;
     profilePictureInfo = response.UserPictureInfo;
 }
Beispiel #2
0
 /// <remarks/>
 public void GetProfileByUserAsync(GetProfileByUserRequest GetProfileByUserRequest)
 {
     this.GetProfileByUserAsync(GetProfileByUserRequest, null);
 }
Beispiel #3
0
 /// <remarks/>
 public void GetProfileByUserAsync(GetProfileByUserRequest GetProfileByUserRequest, object userState)
 {
     if ((this.GetProfileByUserOperationCompleted == null)) {
         this.GetProfileByUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProfileByUserOperationCompleted);
     }
     this.InvokeAsync("GetProfileByUser", new object[] {
                 GetProfileByUserRequest}, this.GetProfileByUserOperationCompleted, userState);
 }
Beispiel #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetProfileByUser(GetProfileByUserRequest GetProfileByUserRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetProfileByUser", new object[] {
                 GetProfileByUserRequest}, callback, asyncState);
 }