[This is preliminary documentation and is subject to change.]

Creates a new task

Namespace:  OfficeClip.BusinessLayer.Desktop
Assembly:  OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0

Syntax

C#
public TaskInfo(
	int taskId,
	int groupId,
	string groupName,
	int taskOwnerId,
	string taskOwnerName,
	BusinessConstants..::.TaskTypes taskType,
	BusinessConstants..::.TaskPriority taskPriority,
	BusinessConstants..::.TaskStatus taskStatus,
	DateTime dueDate,
	DateTime startDate,
	DateTime completionDate,
	double percentComplete,
	int estimatedDuration,
	int actualDuration,
	string repeatInfoText,
	bool isReminderSelected,
	string whoToRemind,
	string whenToRemind,
	DateTime remindAtDatetime,
	RecurrenceInfo recurrence,
	bool isPrivate,
	string subject,
	string description,
	int repeatingSequenceId,
	BusinessConstants..::.ObjectType parentObjectType,
	int parentId,
	string taskAssignments,
	int createdByUserId,
	DateTime createdByTimestamp,
	int modifiedByUserId,
	DateTime modifiedByTimestamp
)
Visual Basic (Declaration)
Public Sub New ( _
	taskId As Integer, _
	groupId As Integer, _
	groupName As String, _
	taskOwnerId As Integer, _
	taskOwnerName As String, _
	taskType As BusinessConstants..::.TaskTypes, _
	taskPriority As BusinessConstants..::.TaskPriority, _
	taskStatus As BusinessConstants..::.TaskStatus, _
	dueDate As DateTime, _
	startDate As DateTime, _
	completionDate As DateTime, _
	percentComplete As Double, _
	estimatedDuration As Integer, _
	actualDuration As Integer, _
	repeatInfoText As String, _
	isReminderSelected As Boolean, _
	whoToRemind As String, _
	whenToRemind As String, _
	remindAtDatetime As DateTime, _
	recurrence As RecurrenceInfo, _
	isPrivate As Boolean, _
	subject As String, _
	description As String, _
	repeatingSequenceId As Integer, _
	parentObjectType As BusinessConstants..::.ObjectType, _
	parentId As Integer, _
	taskAssignments As String, _
	createdByUserId As Integer, _
	createdByTimestamp As DateTime, _
	modifiedByUserId As Integer, _
	modifiedByTimestamp As DateTime _
)
Visual C++
public:
TaskInfo(
	int taskId, 
	int groupId, 
	String^ groupName, 
	int taskOwnerId, 
	String^ taskOwnerName, 
	BusinessConstants..::.TaskTypes taskType, 
	BusinessConstants..::.TaskPriority taskPriority, 
	BusinessConstants..::.TaskStatus taskStatus, 
	DateTime dueDate, 
	DateTime startDate, 
	DateTime completionDate, 
	double percentComplete, 
	int estimatedDuration, 
	int actualDuration, 
	String^ repeatInfoText, 
	bool isReminderSelected, 
	String^ whoToRemind, 
	String^ whenToRemind, 
	DateTime remindAtDatetime, 
	RecurrenceInfo^ recurrence, 
	bool isPrivate, 
	String^ subject, 
	String^ description, 
	int repeatingSequenceId, 
	BusinessConstants..::.ObjectType parentObjectType, 
	int parentId, 
	String^ taskAssignments, 
	int createdByUserId, 
	DateTime createdByTimestamp, 
	int modifiedByUserId, 
	DateTime modifiedByTimestamp
)

Parameters

taskId
Type: System..::.Int32
The unique if for the task
groupId
Type: System..::.Int32
The unique id for the group
groupName
Type: System..::.String
The name of the group
taskOwnerId
Type: System..::.Int32
The unique id of the task owner
taskOwnerName
Type: System..::.String
The name of the task owner
taskType
Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.TaskTypes
The type of the task
taskPriority
Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.TaskPriority
The priority of the task
taskStatus
Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.TaskStatus
The status of the task
dueDate
Type: System..::.DateTime
The date when the task is due
startDate
Type: System..::.DateTime
The start date for the task
completionDate
Type: System..::.DateTime
The completion date for the task
percentComplete
Type: System..::.Double
The percent complete for the task
estimatedDuration
Type: System..::.Int32
The estimated duration for the task
actualDuration
Type: System..::.Int32
The actual duration for the task
repeatInfoText
Type: System..::.String
The repeat info text for the task
isReminderSelected
Type: System..::.Boolean
true if the reminder is selected
whoToRemind
Type: System..::.String
The entity to be reminded for the task
whenToRemind
Type: System..::.String
The time when the reminder should go
remindAtDatetime
Type: System..::.DateTime
The exact datetime of the reminder
recurrence
Type: OfficeClip.BusinessLayer.Desktop..::.RecurrenceInfo
The recurrence object
isPrivate
Type: System..::.Boolean
true if the task is private
subject
Type: System..::.String
The subject for the task
description
Type: System..::.String
the description for the task
repeatingSequenceId
Type: System..::.Int32
The repeating sequence id for the task
parentObjectType
Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.ObjectType
The parent object type for the task
parentId
Type: System..::.Int32
the parent id for the task
taskAssignments
Type: System..::.String
Who the task is assigned to
createdByUserId
Type: System..::.Int32
The unique id of the user who created the task
createdByTimestamp
Type: System..::.DateTime
The task creation timestamp
modifiedByUserId
Type: System..::.Int32
The unique id of the user who last modified the task
modifiedByTimestamp
Type: System..::.DateTime
The last modified timestamp

See Also