Ends an asynchronous write operation.
Namespace: HidSharpAssembly: HidSharp (in HidSharp.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
public override void EndWrite( IAsyncResult asyncResult )
Parameters
- asyncResult
- Type: System IAsyncResult
A reference to the outstanding asynchronous I/O request.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | asyncResult is null. |
System ArgumentException | asyncResult did not originate from a BeginWrite( Byte , Int32, Int32, AsyncCallback, Object) method on the current stream. |
System.IO IOException | The stream is closed or an internal error has occurred. |
See Also