This topic has not yet been rated - Rate this topic

SPEventReceiverDefinition.ContextType Property

Gets or sets the Guid that represents the type of the receiver process.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public Guid ContextType { get; set; }

Property Value

Type: System.Guid
The Guid that represents the type of the receiver process.

A context is an ordered sequence of properties that define an environment for the objects resident inside it. Contexts are created during the activation process for objects that require automatic services such as transactions, just-in-time activation, or security.

Multiple objects can live inside a context. A context intercepts calls to the class members and enforces policies that are applied to the class, such as synchronization.

The type of the receiver process is based on the globally unique identifier that is associated with Windows Workflow ("WinOE").

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ