Click or drag to resize

StreamEndWrite Method

Ends an asynchronous write operation.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public virtual void EndWrite(
	IAsyncResult asyncResult
)

Parameters

asyncResult  IAsyncResult
A reference to the outstanding asynchronous I/O request.
Exceptions
ExceptionCondition
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.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also