Share via


SqlNotificationEventArgs Constructor

Definición

Crea una nueva instancia del objeto 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)

Parámetros

type
SqlNotificationType

Valor de SqlNotificationType que indica si esta notificación se genera debido a un cambio real o por la suscripción.

info
SqlNotificationInfo

Valor de SqlNotificationInfo que indica el motivo del evento de notificación. Puede producirse porque los datos en el almacén han cambiado realmente o porque la notificación ya no es válida (por ejemplo, ha sobrepasado su tiempo de espera).

source
SqlNotificationSource

Valor de SqlNotificationSource que indica el origen que generó la notificación.

Se aplica a

Consulte también