public byte[] GetProfilePicture( Identifier userId )
 {
     GetProfilePictureRequest request = new GetProfilePictureRequest() { UserId = userId };
     GetProfilePictureResponse response = CallWebService<IUserManagementServicev1_6,
         GetProfilePictureRequest, GetProfilePictureResponse>(
         m_service1_6, request, ( s, q ) => s.GetProfilePicture( q ) );
     return response.Photo;
 }
Beispiel #2
0
 /// <remarks/>
 public void GetProfilePictureAsync(GetProfilePictureRequest GetProfilePictureRequest)
 {
     this.GetProfilePictureAsync(GetProfilePictureRequest, null);
 }
Beispiel #3
0
 /// <remarks/>
 public void GetProfilePictureAsync(GetProfilePictureRequest GetProfilePictureRequest, object userState)
 {
     if ((this.GetProfilePictureOperationCompleted == null)) {
         this.GetProfilePictureOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProfilePictureOperationCompleted);
     }
     this.InvokeAsync("GetProfilePicture", new object[] {
                 GetProfilePictureRequest}, this.GetProfilePictureOperationCompleted, userState);
 }
Beispiel #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetProfilePicture(GetProfilePictureRequest GetProfilePictureRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetProfilePicture", new object[] {
                 GetProfilePictureRequest}, callback, asyncState);
 }