DeviceStreamEndWrite Method HIDSharp
Ends an asynchronous write operation.

Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax

public override void EndWrite(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: SystemIAsyncResult
A reference to the outstanding asynchronous I/O request.
Exceptions

ExceptionCondition
ArgumentNullExceptionasyncResult is null.
ArgumentExceptionasyncResult did not originate from a BeginWrite(Byte, Int32, Int32, AsyncCallback, Object) method on the current stream.
IOExceptionThe stream is closed or an internal error has occurred.
See Also

Reference