Share via


Configuration.GenericDescriptor Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a new instance of the Configuration..::..GenericDescriptor class.

Namespace:  Microsoft.SPOT.Hardware.UsbClient
Assembly:  Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)

Syntax

'Declaration
Public Sub New ( _
    RequestType As Byte, _
    Value As UShort, _
    Payload As Byte() _
)
public GenericDescriptor(
    byte RequestType,
    ushort Value,
    byte[] Payload
)
public:
GenericDescriptor(
    unsigned char RequestType, 
    unsigned short Value, 
    array<unsigned char>^ Payload
)
new : 
        RequestType:byte * 
        Value:uint16 * 
        Payload:byte[] -> GenericDescriptor
public function Configuration..::..GenericDescriptor(
    RequestType : byte, 
    Value : ushort, 
    Payload : byte[]
)

Parameters

  • RequestType
    Type: System. . :: . .Byte
    Specifies the request type. Must be set to one or more of the constant values defined in this class and combined with a bitwise OR operation.

.NET Framework Security

See Also

Reference

Configuration. . :: . .GenericDescriptor Class

Microsoft.SPOT.Hardware.UsbClient Namespace