SqlNotificationEventArgs Konstruktor

Definice

Vytvoří novou instanci objektu 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)

Parametry

type
SqlNotificationType

SqlNotificationType hodnota, která označuje, jestli se toto oznámení generuje kvůli skutečné změně nebo odběru.

info
SqlNotificationInfo

SqlNotificationInfo hodnota označující důvod události oznámení. K tomu může dojít, protože se data v úložišti skutečně změnila nebo se oznámení stalo neplatným (například vypršel časový limit).

source
SqlNotificationSource

SqlNotificationSource hodnota označující zdroj, který vygeneroval oznámení.

Platí pro

Viz také