LibUsbDotNet 2.2.8
NewAsyncTransfer Method
Library Reference ► LibUsbDotNet.Main ► UsbEndpointBase ► NewAsyncTransfer()()()()
|
Creates a UsbTransfer context for asynchronous transfers.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public UsbTransfer NewAsyncTransfer()
Public Function NewAsyncTransfer As UsbTransfer
public: UsbTransfer^ NewAsyncTransfer()
Return Value
A new UsbTransfer context.
Remarks
This method returns a new, empty transfer context. Unlike SubmitAsyncTransfer, this context is not filled and submitted.
Note:This is a non-blocking asynchronous transfer function. This function returns immediately after the context created.
See Also