SqlNotificationEventArgs Construtor

Definição

Cria uma nova instância do 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 que indica se essa notificação é gerada devido a uma alteração real ou pela assinatura.

info
SqlNotificationInfo

SqlNotificationInfo valor que indica o motivo do evento de notificação. Isso pode ocorrer porque os dados no repositório realmente foram alterados ou a notificação se tornou inválida (por exemplo, atingiu o tempo limite).

source
SqlNotificationSource

SqlNotificationSource valor que indica a origem que gerou a notificação.

Aplica-se a

Confira também