Click or drag to resize

GsmModemFaulted Event

Occurs when the serial port communication is faulted.

Namespace: ZylSoft.Gsm
Assembly: ZylGsm (in ZylGsm.dll) Version: 1.2.0.21451
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public event EventHandler<ConnectionEventArgs> Faulted

Value

EventHandlerConnectionEventArgs
Example
When you unplug an USB device which communicates on a virtual serial port. Do not try to reconnect from the Faulted or Disconnected event. Set AutoReconnect property to true, to automatically reconnect after a Faulted event, or use the property IsFaulted, which is automatically set to true after a Faulted event and use a timer which checks periodically this property and reconnect from the Ticked event when IsFaulted is true.
See Also