ConnectionEndWrite Method |
Ends an asynchronous write operation.
Namespace: Crestron.SimplSharp.NetAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic override void EndWrite(
IAsyncResult asyncResult
)
Parameters
- asyncResult IAsyncResult
-
A reference to the outstanding asynchronous I/O request.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
asyncResult is null.
|
| ArgumentException |
asyncResult did not originate from a CrestronIO.Stream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)
method on the current stream.
|
| IOException |
The stream is closed or an internal error has occurred.
|
| ConnectionClosedException |
The current Connection was closed.
|
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also