
## EndListMessage {#endlistmessage}

Waits for the asynchronous ListMessage operation to complete.

**Returns:** Returns ImapMessageInfo objects

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

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

