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

List RtmNet::Rtm::TasksSetPriority ( string  timeline,
string  listID,
string  taskSeriesID,
string  taskID,
string  priority 
) [inline]

Sets the priority on a task.

listID A System.String
taskSeriesID A System.String
taskID A System.String
priority A System.String

Definition at line 586 of file Rtm.cs.

                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "rtm.tasks.setPriority");
                  parameters.Add("timeline", timeline);
                  parameters.Add("list_id", listID);
                  parameters.Add("taskseries_id", taskSeriesID);
                  parameters.Add("task_id", taskID);
                  if(priority.CompareTo("N") != 0)
                        parameters.Add("priority", priority);

                  RtmNet.Response response = GetResponse(parameters);

                  if( response.Status == ResponseStatus.OK )
                        return response.List;
                        throw new RtmApiException(response.Error);

Generated by  Doxygen 1.6.0   Back to index