SqlNotificationEventArgs Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance de l’objet SqlNotificationEventArgs .
public:
SqlNotificationEventArgs(System::Data::SqlClient::SqlNotificationType type, System::Data::SqlClient::SqlNotificationInfo info, System::Data::SqlClient::SqlNotificationSource source);
public SqlNotificationEventArgs(System.Data.SqlClient.SqlNotificationType type, System.Data.SqlClient.SqlNotificationInfo info, System.Data.SqlClient.SqlNotificationSource source);
new System.Data.SqlClient.SqlNotificationEventArgs : System.Data.SqlClient.SqlNotificationType * System.Data.SqlClient.SqlNotificationInfo * System.Data.SqlClient.SqlNotificationSource -> System.Data.SqlClient.SqlNotificationEventArgs
Public Sub New (type As SqlNotificationType, info As SqlNotificationInfo, source As SqlNotificationSource)
Paramètres
- type
- SqlNotificationType
SqlNotificationType valeur qui indique si cette notification est générée en raison d’une modification réelle ou par l’abonnement.
- info
- SqlNotificationInfo
SqlNotificationInfo valeur qui indique la raison de l’événement de notification. Cela peut se produire parce que les données dans le magasin ont réellement changé, ou que la notification est devenue non valide (par exemple, il a expiré).
- source
- SqlNotificationSource
SqlNotificationSource valeur qui indique la source qui a généré la notification.