
## EndCopyMessage {#endcopymessage}

Waits for the pending asynchronous operation to complete.

**Returns:** If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null Please, read more https://tools.ietf.org/html/rfc4315

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

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

