共用方式為


SPEventReceiverDefinition.ContextType property

取得或設定Guid ,表示接收者處理序的類型。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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; }

Property value

Type: System.Guid
Guid 表示接收者處理序的類型。

備註

內容是已排序的屬性序列,定義物件所在的環境。內容是在需要自動的服務,例如交易、 只-時間啟動或安全性物件的啟動程序期間建立。

多個物件可以存在一個內容中。內容會攔截類別成員的呼叫,並強制執行套用至類別,例如,同步處理的原則。

接收者處理序的類型根據 Windows 工作流程 ("WinOE") 相關聯的全域唯一識別項。

請參閱

參照

SPEventReceiverDefinition class

SPEventReceiverDefinition members

Microsoft.SharePoint namespace

其他資源

功能事件接收器

使用下列功能