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; }
/// <remarks/> public void GetProfileByUserAsync(GetProfileByUserRequest GetProfileByUserRequest) { this.GetProfileByUserAsync(GetProfileByUserRequest, null); }
/// <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); }
/// <remarks/> public System.IAsyncResult BeginGetProfileByUser(GetProfileByUserRequest GetProfileByUserRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetProfileByUser", new object[] { GetProfileByUserRequest}, callback, asyncState); }