SqlNotificationEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示传递给通知事件处理程序的参数集。
public ref class SqlNotificationEventArgs : EventArgs
public class SqlNotificationEventArgs : EventArgs
type SqlNotificationEventArgs = class
inherit EventArgs
Public Class SqlNotificationEventArgs
Inherits EventArgs
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource) |
创建对象 SqlNotificationEventArgs 的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Info |
获取一个值,该值指示通知事件的原因,例如修改数据库中的行或被截断的表。 |
| Source |
获取一个值,该值指示生成通知的源,例如对查询数据或数据库状态的更改。 |
| Type |
获取一个值,该值指示是由于实际更改还是订阅生成此通知。 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |