SqlNotificationEventArgs Constructor (SqlNotificationType, SqlNotificationInfo, SqlNotificationSource)
.NET Framework (current version)
Creates a new instance of the SqlNotificationEventArgs object.
Assembly: System.Data (in System.Data.dll)
public:
SqlNotificationEventArgs(
SqlNotificationType type,
SqlNotificationInfo info,
SqlNotificationSource source
)
Parameters
- type
-
Type:
System.Data.SqlClient::SqlNotificationType
SqlNotificationType value that indicates whether this notification is generated because of an actual change, or by the subscription.
- info
-
Type:
System.Data.SqlClient::SqlNotificationInfo
SqlNotificationInfo value that indicates the reason for the notification event. This may occur because the data in the store actually changed, or the notification became invalid (for example, it timed out).
- source
-
Type:
System.Data.SqlClient::SqlNotificationSource
SqlNotificationSource value that indicates the source that generated the notification.
.NET Framework
Available since 2.0
Available since 2.0
Show: