SqlNotificationEventArgs Construtor
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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.