## FromVTodoAsync(string, CancellationToken) {#fromvtodoasync_3}

Creates an instance of MapiTask from the specified .ics file asynchronously.

```csharp
public static Task<MapiTask> FromVTodoAsync(string filePath, CancellationToken token = default)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | String | The path to the file to be loaded. |
| token | CancellationToken | Propagates notification that operations should be canceled. |

### Return Value

Returns a MapiTask instance which is loaded from the specified file.

### See Also

* class [MapiTask](../)
* namespace [Aspose.Email.Mapi](../../mapitask/)
* assembly [Aspose.Email](../../../)

---

## FromVTodoAsync(string, bool, CancellationToken) {#fromvtodoasync_2}

Creates an instance of MapiTask from the specified .ics file asynchronously.

```csharp
public static Task<MapiTask> FromVTodoAsync(string filePath, bool detectEncoding, 
    CancellationToken token = default)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | String | The path to the file to be loaded. |
| detectEncoding | Boolean | Determines a data encoding by analyzing its byte order mark (BOM) |
| token | CancellationToken | Propagates notification that operations should be canceled. |

### Return Value

Returns a MapiTask instance which is loaded from the specified file.

### See Also

* class [MapiTask](../)
* namespace [Aspose.Email.Mapi](../../mapitask/)
* assembly [Aspose.Email](../../../)

---

## FromVTodoAsync(Stream, CancellationToken) {#fromvtodoasync_1}

Creates an instance of MapiTask from the specified stream asynchronously.

```csharp
public static Task<MapiTask> FromVTodoAsync(Stream stream, CancellationToken token = default)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The stream to be loaded. |
| token | CancellationToken | Propagates notification that operations should be canceled. |

### Return Value

Returns a MapiTask instance which is loaded from the specified stream.

### See Also

* class [MapiTask](../)
* namespace [Aspose.Email.Mapi](../../mapitask/)
* assembly [Aspose.Email](../../../)

---

## FromVTodoAsync(Stream, bool, CancellationToken) {#fromvtodoasync}

Creates an instance of MapiTask from the specified stream asynchronously.

```csharp
public static Task<MapiTask> FromVTodoAsync(Stream stream, bool detectEncoding, 
    CancellationToken token = default)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The stream to be loaded. |
| detectEncoding | Boolean | Determines a data encoding by analyzing its byte order mark (BOM) |
| token | CancellationToken | Propagates notification that operations should be canceled. |

### Return Value

Returns a MapiTask instance which is loaded from the specified stream.

### See Also

* class [MapiTask](../)
* namespace [Aspose.Email.Mapi](../../mapitask/)
* assembly [Aspose.Email](../../../)


