Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlNotificationEventArgs Constructor (SqlNotificationType, SqlNotificationInfo, SqlNotificationSource)

 

Creates a new instance of the SqlNotificationEventArgs object.

Namespace:   System.Data.SqlClient
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
Return to top
Show:
© 2017 Microsoft