UsbInterruptInEventArgs 클래스

정의

이벤트에 대한 이벤트 처리기에 매개 변수로 전달되는 개체를 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
상속
Object IInspectable 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 엔드포인트에서 데이터를 가져옵니다.

적용 대상