UsbInterruptInEventArgs UsbInterruptInEventArgs UsbInterruptInEventArgs UsbInterruptInEventArgs Class

Represents the object that is passed as a parameter to the event handler for the DataReceived event.

Syntax

Declaration

public sealed class UsbInterruptInEventArgspublic sealed class UsbInterruptInEventArgsPublic NotInheritable Class UsbInterruptInEventArgspublic sealed class UsbInterruptInEventArgs

Remarks

UsbInterruptInEventArgs is used to access data from an interrupt IN pipe. When data arrives in an interrupt IN pipe, it raises the DataReceived event. You must register an event handler for the event. That event handler's parameter is a UsbInterruptInEventArgs object. After the event handler is invoked, you can access the data by using the InterruptData property.

function onDataReceived(eventArgs) 
{ 
    /* Your code */ 
    var interruptData = eventArgs.interruptData;
}

Properties summary

Gets data from the interrupt IN endpoint.

Properties

  • InterruptData
    InterruptData
    InterruptData
    InterruptData

    Gets data from the interrupt IN endpoint.

    public IBuffer InterruptData { get; }public IBuffer InterruptData { get; }Public ReadOnly Property InterruptData As IBufferpublic IBuffer InterruptData { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Devices.Usb.dll