UsbInterruptInEventArgs 类   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示作为参数传递给 DataReceived 事件的事件处理程序的对象。
public ref class UsbInterruptInEventArgs sealed
	/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UsbInterruptInEventArgs final
	[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UsbInterruptInEventArgs
	Public NotInheritable Class UsbInterruptInEventArgs
		- 继承
 
- 属性
 
Windows 要求
| 设备系列 | 
					 
							Windows 10 (在 10.0.10240.0 中引入) 
				 | 
			
| API contract | 
					 
							Windows.Foundation.UniversalApiContract (在 v1.0 中引入) 
				 | 
			
注解
UsbInterruptInEventArgs 用于从中断 IN 管道访问数据。 当数据到达中断 IN 管道时,它会引发 DataReceived 事件。 必须为事件注册事件处理程序。 该事件处理程序的参数是 UsbInterruptInEventArgs 对象。 调用事件处理程序后,可以使用 InterruptData 属性访问数据。
function onDataReceived(eventArgs) 
{ 
    /* Your code */ 
    var interruptData = eventArgs.interruptData;
}
	属性
| InterruptData | 
		 从中断 IN 终结点获取数据。  |