Condividi tramite


SqlNotificationEventArgs Costruttore

Definizione

Crea una nuova istanza dell'oggetto SqlNotificationEventArgs.

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)

Parametri

type
SqlNotificationType

Valore dell'oggetto SqlNotificationType che indica se la notifica viene generata a causa di una modifica effettiva o dalla sottoscrizione.

info
SqlNotificationInfo

Valore dell'oggetto SqlNotificationInfo che indica il motivo dell'evento di notifica. Il motivo può risiedere nel fatto che i dati memorizzati sono stati effettivamente modificati oppure nel fatto che la notifica non è più valida, ad esempio per scadenza del timeout.

source
SqlNotificationSource

Valore dell'oggetto SqlNotificationSource che indica l'origine che ha generato la notifica.

Si applica a