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 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SqlNotificationEventArgs」の関連用語

SqlNotificationEventArgsのお隣キーワード
検索ランキング

   

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



SqlNotificationEventArgsのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS