
## EndFetchAttachment {#endfetchattachment}

Waits for the asynchronous operation to complete.

**Returns:** System::SharedPtr < Attachment > Aspose::Email::Clients::Imap::

```cpp
EndFetchAttachment(System::SharedPtr < System::IAsyncResult > asyncResult)
```

| Parameter | Description |
| --- | --- |
| asyncResult | The reference to the pending asynchronous request to wait for. |

