<PackageReference Include="System.Data.SqlClient" Version="4.8.3" />

SqlNotificationEventArgs

Represents the set of arguments passed to the notification event handler.
public SqlNotificationInfo Info { get; }

Gets a value that indicates the reason for the notification event, such as a row in the database being modified or a table being truncated.

public SqlNotificationSource Source { get; }

Gets a value that indicates the source that generated the notification, such as a change to the query data or the database's state.

public SqlNotificationType Type { get; }

Gets a value that indicates whether this notification is generated because of an actual change, or by the subscription.

Creates a new instance of the SqlNotificationEventArgs object.