Wait Method (transferredCount, cancel)

LibUsbDotNet

LibUsbDotNet 2.2.8 Wait Method (transferredCount, cancel)
Library ReferenceLibUsbDotNet.MainUsbTransferWait(Int32%, Boolean)
LibUsbDotNet on SourceForge
Wait for the transfer to complete, timeout, or get cancelled.
Declaration Syntax
C# Visual Basic Visual C++
public abstract ErrorCode Wait(
	out int transferredCount,
	bool cancel
)
Public MustOverride Function Wait ( _
	<OutAttribute> ByRef transferredCount As Integer, _
	cancel As Boolean _
) As ErrorCode
public:
virtual ErrorCode Wait(
	[OutAttribute] int% transferredCount, 
	bool cancel
) abstract
Parameters
transferredCount (Int32%)
The number of bytes transferred on Success.
cancel (Boolean)
If true, the transfer is cancelled if it does not complete within the time specified in Timeout.
Return Value
Success if the transfer completes successfully, otherwise one of the other ErrorCode codes.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)