Class Task
Represents a Task
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class Task : Entity, IRememberBeingDirty, ICanBeDirty, IAggregateRoot, IDeletableEntity, IEntity, IDeepCloneable
Constructors
Task(TaskType)
Declaration
public Task(TaskType taskType)
Parameters
Type | Name | Description |
---|---|---|
TaskType | taskType |
Properties
AssigneeUserId
Gets or sets the Id of the user, who is assigned to this task
Declaration
[DataMember]
public int AssigneeUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Closed
Gets or sets a boolean indicating whether the task is closed
Declaration
[DataMember]
public bool Closed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Comment
Gets or sets the Comment for the Task
Declaration
[DataMember]
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EntityId
Gets or sets the Id of the entity, which this task is associated to
Declaration
[DataMember]
public int EntityId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OwnerUserId
Gets or sets the Id of the user, who owns this task
Declaration
[DataMember]
public int OwnerUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TaskType
Gets or sets the TaskType of the Task
Declaration
[DataMember]
public TaskType TaskType { get; set; }
Property Value
Type | Description |
---|---|
TaskType |