Configuration.GenericDescriptor Class

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

Specifies the descriptor request issued by the host and the descriptor that is returned in response to the host request.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Hardware.UsbClient. . :: . .Configuration. . :: . .Descriptor
    Microsoft.SPOT.Hardware.UsbClient..::..Configuration..::..GenericDescriptor

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

Syntax

'Declaration
Public Class GenericDescriptor _
    Inherits Configuration.Descriptor
public class GenericDescriptor : Configuration.Descriptor
public ref class GenericDescriptor : public Configuration::Descriptor
type GenericDescriptor =  
    class
        inherit Configuration.Descriptor
    end
public class GenericDescriptor extends Configuration..::..Descriptor

The Configuration..::..GenericDescriptor type exposes the following members.

Constructors

  Name Description
Public method Configuration. . :: . .GenericDescriptor Creates a new instance of the Configuration..::..GenericDescriptor class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field bmRequestType Stores the host request type.
Public field bRequest Contains the value of the request.
Protected field index Specifies the descriptor's index number. (Inherited from Configuration. . :: . .Descriptor.)
Public field payload Holds the data for the request.
Public fieldStatic member REQUEST_Class Defines a class request.
Public fieldStatic member REQUEST_Device Defines a device request.
Public fieldStatic member REQUEST_Endpoint Defines an endpoint request.
Public fieldStatic member REQUEST_IN Specifies that the direction of the request is from the device to the host.
Public fieldStatic member REQUEST_Interface Defines an interface request.
Public fieldStatic member REQUEST_Other Defines a miscellaneous or unknown request type.
Public fieldStatic member REQUEST_OUT Specifies that the direction of the request is from the host to the device.
Public fieldStatic member REQUEST_Standard Defines a standard request.
Public fieldStatic member REQUEST_Vendor Defines a vendor request.
Public field wIndex Holds a programmer-defined index value.
Public field wValue Contains the value for the request.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Hardware.UsbClient Namespace