PinChangedEventArgs PinChangedEventArgs PinChangedEventArgs PinChangedEventArgs PinChangedEventArgs Class


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
struct winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs
public sealed class PinChangedEventArgs
Public NotInheritable Class PinChangedEventArgs
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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.


PinChange PinChange PinChange PinChange PinChange

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