MapiTaskBuilder Class

A task (IPM.Task) to add to a folder of a PstWriter.

public sealed class MapiTaskBuilder : MapiMessageBuilder
Inheritance
MapiMessageBuilder MapiTaskBuilder

Constructors

NameDescription
MapiTaskBuilder()Initializes a new instance of the MapiTaskBuilder class.

MapiTaskBuilder()

MapiTaskBuilder.cs

Initializes a new instance of the MapiTaskBuilder class.

public MapiTaskBuilder()

Properties

NameDescription
ActualEffortGets or sets the time spent on the task.
DateCompletedGets or sets the date the task was completed.
DueDateGets or sets the date the task is due.
EstimatedEffortGets or sets the time the task is estimated to take.
OwnerGets or sets the name of the owner of the task.
PercentCompleteGets or sets the completion of the task, from 0 to 1.
StartDateGets or sets the date the task starts.
StatusGets or sets the status of the task.

ActualEffort

MapiTaskBuilder.cs

Gets or sets the time spent on the task.

public TimeSpan? ActualEffort { get; set; }

Property value

TimeSpan?

DateCompleted

MapiTaskBuilder.cs

Gets or sets the date the task was completed.

public DateTime? DateCompleted { get; set; }

Property value

DateTime?

Gets or sets the date the task is due.

public DateTime? DueDate { get; set; }

Property value

DateTime?

EstimatedEffort

MapiTaskBuilder.cs

Gets or sets the time the task is estimated to take.

public TimeSpan? EstimatedEffort { get; set; }

Property value

TimeSpan?

Gets or sets the name of the owner of the task.

public string? Owner { get; set; }

Property value

string?

PercentComplete

MapiTaskBuilder.cs

Gets or sets the completion of the task, from 0 to 1.

public double PercentComplete { get; set; }

Property value

double

Gets or sets the date the task starts.

public DateTime? StartDate { get; set; }

Property value

DateTime?

Gets or sets the status of the task.

public MapiTaskStatus Status { get; set; }

Property value

MapiTaskStatus