Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UsbInterruptInEventArgs class

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

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The UsbInterruptInEventArgs class has these types of members:

Methods

The UsbInterruptInEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The UsbInterruptInEventArgs class has these properties.

PropertyAccess typeDescription

InterruptData

Read-onlyGets data from the interrupt IN endpoint.

 

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;
}

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft. All rights reserved.