---
title: "Aspose::Email::Clients::Exchange::WebService::IEWSClient::FetchTask method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange.webservice/iewsclient/fetchtask/"
product: "Aspose.Email for C++"
description: "Fetches the specified task."
---


## FetchTask {#fetchtask}

Fetches the specified task.

**Returns:** A fetched ExchangeTask

```cpp
FetchTask(System::String taskUri)
```

| Parameter | Description |
| --- | --- |
| taskUri | A task uri. |

