Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |
|
ITaskList.CreateTask Method
Creates and returns a task object.
ITask CreateTask(
string
name,
string
description,
DateTime
startTime,
DateTime
endTime);
Parameters
-
name
- Name of the task; cannot be
null
.
-
description
- Description of the task; cannot be
null
.
-
startTime
- Start time of the task, cannot be
null
.
-
endTime
- End time of the task, cannot be
null
.
Return Value
An ITask
.
Remarks
The newly created task object will not be stored until Store
is called.
Note that the value of the start date and end date stored in the database may vary by a few milliseconds from the supplied date. The date in this object will reflect the stored date after a call to
Store
.
Exceptions
Exception Type |
Condition |
InvalidOperationException
|
if the object has not yet been stored or has already been removed. |
See Also
ITaskList Interface | Plumtree.Remote.PRC.Collaboration.Tasklist Namespace