
## EndAppendMessage {#endappendmessage}

Waits for the pending asynchronous operation to complete.

**Returns:** An unique id of appended message

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

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

