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 valor que indica se esta notificação é gerada devido a uma alteração real ou pela subscrição.

info
SqlNotificationInfo

SqlNotificationInfo valor que indica a razão do evento de notificação. Isto pode acontecer porque os dados na loja realmente mudaram, ou a notificação tornou-se inválida (por exemplo, expirou o tempo).

source
SqlNotificationSource

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

Aplica-se a

Ver também