SqlNotificationEventArgs 類別

定義

表示傳遞至告知事件處理常式的引數集合。

public ref class SqlNotificationEventArgs : EventArgs
public class SqlNotificationEventArgs : EventArgs
type SqlNotificationEventArgs = class
    inherit EventArgs
Public Class SqlNotificationEventArgs
Inherits EventArgs
繼承
SqlNotificationEventArgs

建構函式

SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource)

建立 SqlNotificationEventArgs 物件的新執行個體。

屬性

Info

取得表示通知事件原因 (例如,修改中資料庫的資料列或截斷的資料表) 的值。

Source

取得表示產生通知之來源 (例如,對查詢資料或資料庫狀態的變更) 的值。

Type

取得值,指出是因實際變更還是由訂閱產生這個告知。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱