SqlNotificationEventArgs 생성자

정의

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)

매개 변수

type
SqlNotificationType

이 알림이 생성된 원인이 실제 변경 때문인지 아니면 구독에 의한 것인지 여부를 나타내는 SqlNotificationType 값입니다.

info
SqlNotificationInfo

알림 이벤트의 이유를 나타내는 SqlNotificationInfo 값입니다. 이 이벤트는 저장소의 데이터가 실제로 변경되었거나 알림이 무효화된 경우(예: 제한 시간 초과)에 발생합니다.

source
SqlNotificationSource

알림을 생성한 소스를 나타내는 SqlNotificationSource 값입니다.

적용 대상

추가 정보