Logo Search packages:      
Sourcecode: tasque version File versions  Download package

Tasks RtmNet::Rtm::TasksGetList ( string  listID  )  [inline]

Gets a list of contacts for the logged in user. Requires authentication.

Returns:
An instance of the Contacts class containing the list of contacts.

Definition at line 551 of file Rtm.cs.

            {
                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "rtm.tasks.getList");
                  if(listID != null)
                        parameters.Add("list_id", listID);
                  
                  RtmNet.Response response = GetResponse(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return response.Tasks;
                  }
                  else
                  {
                        throw new RtmApiException(response.Error);
                  }
            }


Generated by  Doxygen 1.6.0   Back to index