SqlNotificationEventArgs Class

Definition

Represents the set of arguments passed to the notification event handler.

C#
public class SqlNotificationEventArgs : EventArgs
Inheritance
SqlNotificationEventArgs

Constructors

Properties

Info

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.

Source

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

Type

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

Applies to

Product Versions
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2