SqlNotificationEventArgs Constructor

Definición

Crea una nueva instancia del SqlNotificationEventArgs objeto .

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

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

info
SqlNotificationInfo

SqlNotificationInfo valor que indica el motivo del evento de notificación. Esto puede ocurrir porque los datos del almacén han cambiado realmente o la notificación no es válida (por ejemplo, agota el tiempo de espera).

source
SqlNotificationSource

SqlNotificationSource valor que indica el origen que generó la notificación.

Se aplica a

Consulte también