Configuration.ClassDescriptor 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..::..ClassDescriptor class.
Namespace: Microsoft.SPOT.Hardware.UsbClient
Assembly: Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)
Syntax
'Declaration
Public Sub New ( _
DescriptorType As Byte, _
Payload As Byte() _
)
public ClassDescriptor(
byte DescriptorType,
byte[] Payload
)
public:
ClassDescriptor(
unsigned char DescriptorType,
array<unsigned char>^ Payload
)
new :
DescriptorType:byte *
Payload:byte[] -> ClassDescriptor
public function Configuration..::..ClassDescriptor(
DescriptorType : byte,
Payload : byte[]
)
Parameters
- DescriptorType
Type: System. . :: . .Byte
Contains the descriptor's data type. For example, a value of 0x03 specifies a string descriptor.
- Payload
Type: array<System. . :: . .Byte> [] () [] []
Holds the data for the device descriptor 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.