EndWrite Method

HidSharp

HidStream EndWrite Method HIDSharp
Ends an asynchronous write operation.

Namespace: HidSharp
Assembly: 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: OnlineSystem IAsyncResult
A reference to the outstanding asynchronous I/O request.
Exceptions

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