LibUsbDotNet 2.2.8
UsbTransfer Class
Library Reference ► LibUsbDotNet.Main ► UsbTransfer
|
Base class for async transfer context.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract class UsbTransfer : IDisposable, IAsyncResult
Public MustInherit Class UsbTransfer _ Implements IDisposable, IAsyncResult
public ref class UsbTransfer abstract : IDisposable, IAsyncResult
Members
All Members | Methods | Properties | |||
|
|
|
Icon | Member | Description |
---|---|---|
AsyncState |
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
|
|
AsyncWaitHandle |
Gets a WaitHandle that is used to wait for an asynchronous operation to complete.
|
|
Cancel()()()() |
Cancels a pending transfer that was previously submitted with Submit()()()().
|
|
CancelWaitHandle |
Gets the WaitHandle for the cancel event.
|
|
CompletedSynchronously |
Gets an indication of whether the asynchronous operation completed synchronously.
|
|
Dispose()()()() |
Cancels any pending transfer and frees resources.
|
|
EndpointBase |
Returns the UsbEndpointReader or UsbEndpointWriter this transfer context is associated with.
|
|
Fill(Object, Int32, Int32, Int32) |
Fills the transfer with the data to Submit()()()().
|
|
Fill(Object, Int32, Int32, Int32, Int32) |
Fills the transfer with the data to Submit()()()() an isochronous transfer.
|
|
Fill(IntPtr, Int32, Int32, Int32) |
Fills the transfer with the data to Submit()()()().
|
|
Fill(IntPtr, Int32, Int32, Int32, Int32) |
Fills the transfer with the data to Submit()()()() an isochronous transfer.
|
|
IncrementTransfer(Int32) |
Increments the internal counters to the next transfer batch (for transfers greater than MaxReadWrite)
|
|
IsCancelled |
True if the transfer has been cacelled with Cancel()()()().
|
|
IsCompleted |
Gets an indication whether the asynchronous operation has completed.
|
|
IsoPacketSize |
Gets the size of each isochronous packet.
|
|
Remaining |
Remaining bytes in the transfer data buffer.
|
|
Reset()()()() |
Resets the transfer to its orignal state.
|
|
Submit()()()() |
Submits the transfer.
|
|
Transmitted |
Totoal number of bytes transferred.
|
|
Wait(Int32%, Boolean) |
Wait for the transfer to complete, timeout, or get cancelled.
|
|
Wait(Int32%) |
Wait for the transfer to complete, timeout, or get cancelled.
|
Inheritance Hierarchy
Object | |
UsbTransfer |