SqlNotificationEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the SqlNotificationEventArgs object.
public:
SqlNotificationEventArgs(Microsoft::Data::SqlClient::SqlNotificationType type, Microsoft::Data::SqlClient::SqlNotificationInfo info, Microsoft::Data::SqlClient::SqlNotificationSource source);
public SqlNotificationEventArgs (Microsoft.Data.SqlClient.SqlNotificationType type, Microsoft.Data.SqlClient.SqlNotificationInfo info, Microsoft.Data.SqlClient.SqlNotificationSource source);
new Microsoft.Data.SqlClient.SqlNotificationEventArgs : Microsoft.Data.SqlClient.SqlNotificationType * Microsoft.Data.SqlClient.SqlNotificationInfo * Microsoft.Data.SqlClient.SqlNotificationSource -> Microsoft.Data.SqlClient.SqlNotificationEventArgs
Public Sub New (type As SqlNotificationType, info As SqlNotificationInfo, source As SqlNotificationSource)
Parameters
- type
- SqlNotificationType
SqlNotificationType value that indicates whether this notification is generated because of an actual change, or by the subscription.
- info
- 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
- SqlNotificationSource
SqlNotificationSource value that indicates the source that generated the notification.