SqlNotificationEventArgs Constructeur

Définition

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.

S’applique à

Voir aussi