Exemplo n.º 1
0
 public UserInfo GetUser( Identifier userId )
 {
     GetUserRequest request = new GetUserRequest() { UserId = userId };
     GetUserResponse response = CallWebService<
         IUserManagementServicev1_0, GetUserRequest, GetUserResponse>(
         m_service1_0, request, ( s, q ) => s.GetUser( q ) );
     return response.User;
 }
Exemplo n.º 2
0
 /// <remarks/>
 public void GetUserAsync(GetUserRequest GetUserRequest)
 {
     this.GetUserAsync(GetUserRequest, null);
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void GetUserAsync(GetUserRequest GetUserRequest, object userState)
 {
     if ((this.GetUserOperationCompleted == null)) {
         this.GetUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserOperationCompleted);
     }
     this.InvokeAsync("GetUser", new object[] {
                 GetUserRequest}, this.GetUserOperationCompleted, userState);
 }
Exemplo n.º 4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetUser(GetUserRequest GetUserRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetUser", new object[] {
                 GetUserRequest}, callback, asyncState);
 }