## Task class

Represents the exchange task information.

```csharp
public class Task : IDisposable
```

## Constructors

| Name | Description |
| --- | --- |
| [Task](task/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [Attachments](../../aspose.email.calendar/task/attachments/) { get; set; } | Gets or sets a collection of file attached to the task. |
| [Attendees](../../aspose.email.calendar/task/attendees/) { get; set; } | Gets or sets the attendees. |
| [Body](../../aspose.email.calendar/task/body/) { get; set; } | Gets or sets a task body. |
| [DueDate](../../aspose.email.calendar/task/duedate/) { get; set; } | Gets or sets the date by which the user expects work on the task to be complete. |
| [HtmlBody](../../aspose.email.calendar/task/htmlbody/) { get; set; } | Gets or sets a task html body. |
| [Location](../../aspose.email.calendar/task/location/) { get; set; } | Gets or sets the location. |
| [Method](../../aspose.email.calendar/task/method/) { get; set; } | Gets or sets iTIP methods associated with an task. |
| [Organizer](../../aspose.email.calendar/task/organizer/) { get; set; } | Gets or sets the organizer. |
| [PercentComplete](../../aspose.email.calendar/task/percentcomplete/) { get; set; } | Gets or sets a pecent of task completion. |
| [Priority](../../aspose.email.calendar/task/priority/) { get; set; } | Gets or sets a task priority. |
| [RelatedTo](../../aspose.email.calendar/task/relatedto/) { get; set; } | Gets or sets a related UID |
| [SequenceId](../../aspose.email.calendar/task/sequenceid/) { get; set; } | Gets or sets the sequence id. |
| [StartDate](../../aspose.email.calendar/task/startdate/) { get; set; } | Gets or sets a start date of task. |
| [Status](../../aspose.email.calendar/task/status/) { get; set; } | Gets or sets the status of the user's progress on the task. |
| [Subject](../../aspose.email.calendar/task/subject/) { get; set; } | Gets or sets a task subject. |
| [UniqueId](../../aspose.email.calendar/task/uniqueid/) { get; set; } | Gets or sets unique identifier |

## Methods

| Name | Description |
| --- | --- |
| static [Load](../../aspose.email.calendar/task/load/#load)(Stream) | Loads `Task` from the stream |
| static [Load](../../aspose.email.calendar/task/load/#load_1)(string) | Loads `Task` from the file. Supported file formats: iCalendar A file path.A read [`Appointment`](../appointment/). |
| [Dispose](../../aspose.email.calendar/task/dispose/)() | Release all resources. |
| [Request](../../aspose.email.calendar/task/request/)() | Requests the object. |
| virtual [Save](../../aspose.email.calendar/task/save/#save)(Stream) | Saves current object to the given stream using MSG format. |
| virtual [Save](../../aspose.email.calendar/task/save/#save_3)(string) | Saves current object into file using MSG format. |
| virtual [Save](../../aspose.email.calendar/task/save/#save_1)(Stream, TaskSaveOptions) | Saves current object to the given stream using specified options. |
| virtual [Save](../../aspose.email.calendar/task/save/#save_4)(string, TaskSaveOptions) | Saves current object into file using specified options. |

### See Also

* namespace [Aspose.Email.Calendar](../../aspose.email.calendar/)
* assembly [Aspose.Email](../../)


