## Stream::EndWrite method


Ends an asynchronous write operation. Waits until the specified asynchronous write operation completes.

```cpp
virtual void System::IO::Stream::EndWrite(System::SharedPtr<System::IAsyncResult> asyncResult)
```


| Parameter | Type | Description |
| --- | --- | --- |
| asyncResult | System::SharedPtr\<System::IAsyncResult\> | An [IAsyncResult](../../../system/iasyncresult/) object that represents an asynchronous write operation |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IAsyncResult](../../../system/iasyncresult/)
* Class [Stream](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
