HidStream EndWrite Method | HIDSharp |
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 )
public override void EndWrite( IAsyncResult asyncResult )
Public Overrides Sub EndWrite ( _ asyncResult As IAsyncResult _ )
Public Overrides Sub EndWrite ( _ asyncResult As IAsyncResult _ )
public: virtual void EndWrite( IAsyncResult^ asyncResult ) override
public: virtual void EndWrite( IAsyncResult^ asyncResult ) override
abstract EndWrite : asyncResult : IAsyncResult -> unit override EndWrite : asyncResult : IAsyncResult -> unit
abstract EndWrite : asyncResult : IAsyncResult -> unit override EndWrite : asyncResult : IAsyncResult -> unit
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