Share via


ComPortHandle Constructor

Initializes a new instance of the ComPortHandle type.

Namespace: Microsoft.SPOT.Emulator.Com
Assembly: Microsoft.SPOT.Emulator (in microsoft.spot.emulator.dll)

Syntax

 public ComPortHandle (
         TransportType transportType,
         int portNumber
)

Parameters

  • transportType
    The transport type for the new COM port handle.
  • portNumber
    The port number for the new COM port handle (for example, 1 for COM1, 2 for COM2, and so forth).

Version Information

Available in .NET Micro Framework version 2.0

See Also

Reference

ComPortHandle Structure
ComPortHandle Members
Microsoft.SPOT.Emulator.Com Namespace