
## EndSelectFolder {#endselectfolder}

Waits for the pending asynchronous message fetching to complete.

**Returns:** The MailMessage that represents message.

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

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

