Port Disconnected Event Args Constructor
Creates an instance of the PortDisconnectedEventArgs class for the port.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public PortDisconnectedEventArgs(
string portName
)VB
Public Sub New (
portName As String
)Parameters
- portName String
Remarks
You can use this constructor when raising the PortDisconnectedEventArgs at run time to
inform the system that the port was disconnected.