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.
- Value
Type: System. . :: . .UInt16
Contains the value of the request.
- Payload
Type: array<System. . :: . .Byte> [] () [] []
Holds the data for the request.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.