SqlNotificationEventArgsとは? わかりやすく解説

SqlNotificationEventArgs クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

通知のイベント ハンドラに渡される一連の引数を表します。

名前空間: System.Data.SqlClient
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Class SqlNotificationEventArgs
    Inherits EventArgs
Dim instance As SqlNotificationEventArgs
public class SqlNotificationEventArgs : EventArgs
public ref class SqlNotificationEventArgs :
 public EventArgs
public class SqlNotificationEventArgs extends
 EventArgs
public class SqlNotificationEventArgs extends
 EventArgs
継承階層継承階層
System.Object
   System.EventArgs
    System.Data.SqlClient.SqlNotificationEventArgs
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlNotificationEventArgs メンバ
System.Data.SqlClient 名前空間

SqlNotificationEventArgs コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

SqlNotificationEventArgs オブジェクトの新しいインスタンスを作成します。

名前空間: System.Data.SqlClient
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Sub New ( _
    type As SqlNotificationType, _
    info As SqlNotificationInfo, _
    source As SqlNotificationSource _
)
Dim type As SqlNotificationType
Dim info As SqlNotificationInfo
Dim source As SqlNotificationSource

Dim instance As New SqlNotificationEventArgs(type,
 info, source)
public SqlNotificationEventArgs (
    SqlNotificationType type,
    SqlNotificationInfo info,
    SqlNotificationSource source
)
public:
SqlNotificationEventArgs (
    SqlNotificationType type, 
    SqlNotificationInfo info, 
    SqlNotificationSource source
)
public SqlNotificationEventArgs (
    SqlNotificationType type, 
    SqlNotificationInfo info, 
    SqlNotificationSource source
)
public function SqlNotificationEventArgs (
    type : SqlNotificationType, 
    info : SqlNotificationInfo, 
    source : SqlNotificationSource
)

パラメータ

type

この通知が実際の変更によって生成されたか、サブスクリプションによって生成されたかを示すSqlNotificationType 値。

info

通知イベントの理由を示す SqlNotificationInfo 値。この値は、データ ストア内のデータが実際に変更された場合や、通知が (タイムアウトなどで) 無効になった場合に生成されます。

source

通知の生成元を示す SqlNotificationSource 値。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlNotificationEventArgs クラス
SqlNotificationEventArgs メンバ
System.Data.SqlClient 名前空間

SqlNotificationEventArgs プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Info 通知イベントの理由を示す値を取得します。
パブリック プロパティ Source 通知の生成元を示す値を取得します。
パブリック プロパティ Type この通知が実際の変更によって生成されたか、サブスクリプションによって生成されたかを示す値を取得します。
参照参照

関連項目

SqlNotificationEventArgs クラス
System.Data.SqlClient 名前空間

SqlNotificationEventArgs メソッド


SqlNotificationEventArgs メンバ

通知のイベント ハンドラに渡される一連の引数を表します。

SqlNotificationEventArgs データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド SqlNotificationEventArgs SqlNotificationEventArgs オブジェクトの新しいインスタンスを作成します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Info 通知イベントの理由を示す値を取得します。
パブリック プロパティ Source 通知の生成元を示す値を取得します。
パブリック プロパティ Type この通知が実際の変更によって生成されたか、サブスクリプションによって生成されたかを示す値を取得します。
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

SqlNotificationEventArgs クラス
System.Data.SqlClient 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「SqlNotificationEventArgs」の関連用語

SqlNotificationEventArgsのお隣キーワード

   

英語⇒日本語
日本語⇒英語
   



SqlNotificationEventArgsのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS