SPEventReceiverDefinition.ContextType 属性

获取或设置Guid值,该值代表的接收器进程的类型。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property ContextType As Guid
    Get
    Set
用法
Dim instance As SPEventReceiverDefinition
Dim value As Guid

value = instance.ContextType

instance.ContextType = value
public Guid ContextType { get; set; }

属性值

类型:System.Guid
代表接收器进程的类型Guid

备注

上下文是这些属性定义为驻留在对象的环境有序的序列。上下文是要求自动服务 (如事务、 实时中激活或安全对象的激活过程中创建的。

多个对象可以实时上下文内。上下文截获对类成员的调用,并强制实施策略应用于的类,如同步。

接收器进程的类型基于 Windows 工作流 ("WinOE") 与关联的全局唯一标识符。

另请参阅

引用

SPEventReceiverDefinition 类

SPEventReceiverDefinition 成员

Microsoft.SharePoint 命名空间

其他资源

功能事件接收器

使用的功能