PinChangedEventArgs PinChangedEventArgs PinChangedEventArgs PinChangedEventArgs Class

Definition

Represents the object that is passed as a parameter to the event handler that is invoked when the state of a signal line changes on the serial port.

public : sealed class PinChangedEventArgs : IPinChangedEventArgspublic sealed class PinChangedEventArgs : IPinChangedEventArgsPublic NotInheritable Class PinChangedEventArgs Implements IPinChangedEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

At times, the state of a signal line can change on the serial port. For example, when the break state is enabled on the serial port causing data transmission to stop. The event is reported by invoking the app-implemented PinChanged event handler. That event handler's parameter is a PinChangedEventArgs object. Inspect the PinChange property to determine the type of signal line. Those values are defined in the SerialPinChange enumeration.

Properties

PinChange PinChange PinChange PinChange

Gets the type of signal change that caused the event on the serial port.

public : SerialPinChange PinChange { get; }public SerialPinChange PinChange { get; }Public ReadOnly Property PinChange As SerialPinChange// You can use this property in JavaScript.
Value
SerialPinChange SerialPinChange SerialPinChange SerialPinChange

One of the values defined in SerialPinChange enumeration.