---
title: "Aspose::Email::Clients::Exchange::WebService::IEWSClient::FetchMapiTasks method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange.webservice/iewsclient/fetchmapitasks/"
product: "Aspose.Email for C++"
description: "Fetch array of MapiTask objects."
---


## FetchMapiTasks (1 of 2) {#fetchmapitasks_1}

Fetch array of MapiTask objects.

**Returns:** Fetch array of MapiTask objects.

```cpp
FetchMapiTasks(System::SharedPtr < System::Collections::Generic::IEnumerable< System::String >> taskUris)
```

| Parameter | Description |
| --- | --- |
| taskUris | List of task uris to be fetched. |

---

## FetchMapiTasks (2 of 2) {#fetchmapitasks_2}

Fetch array of MapiTask objects.

**Returns:** Fetch array of MapiTask objects.

```cpp
FetchMapiTasks(System::SharedPtr < System::Collections::Generic::IEnumerable< System::String >> taskUris, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < Mapi::PropertyDescriptor >>> customProperties)
```

| Parameter | Description |
| --- | --- |
| taskUris | List of task uris to be fetched. |
| customProperties | Custom mapi properties to retrieve. |

