SqlNotificationEventArgs Constructor

Definitie

Hiermee maakt u een nieuw exemplaar van het SqlNotificationEventArgs object.

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)

Parameters

type
SqlNotificationType

SqlNotificationType waarde die aangeeft of deze melding wordt gegenereerd vanwege een werkelijke wijziging of door het abonnement.

info
SqlNotificationInfo

SqlNotificationInfo waarde die de reden voor de meldings gebeurtenis aangeeft. Dit kan gebeuren omdat de gegevens in het archief daadwerkelijk zijn gewijzigd of dat de melding ongeldig is geworden (er is bijvoorbeeld een time-out opgetreden).

source
SqlNotificationSource

SqlNotificationSource waarde die de bron aangeeft die de melding heeft gegenereerd.

Van toepassing op

Zie ook