SPEventReceiverDefinition Members
Include Protected Members
Include Inherited Members
Abstract base class that defines general properties of an event receiver for list items, lists, websites, and workflows.
The SPEventReceiverDefinition type exposes the following members.
Properties
Name | Description | |
---|---|---|
Assembly | Gets or sets the strong name that represents the assembly that is used for event receiving. | |
Class | Gets or sets a string that represents the class that is used for event receiving. | |
ContextCollectionId | Gets or sets the Guid (Globally Unique Identifier) of the collection of context objects that are associated with the specified SharePoint Foundation event receiver processes. | |
ContextEventType | Gets or sets the Guid (Globally Unique Identifier) of the receiver process that is associated with this context event. | |
ContextId | Gets or sets the Guid (Globally Unique Identifier) for the context for the event receiver definitions. | |
ContextItemId | Gets or sets the identifier for items in the SPContext object. | |
ContextItemUrl | Gets or sets the URL for the context item. | |
ContextObjectId | Gets or sets the Guid (associated with the ContextType) for the context object. | |
ContextType | Gets or sets the Guid that represents the type of the receiver process. | |
Credential | Gets or sets the credential for the SPEventReceiverDefinition object. | |
Data | Gets or sets the data that is associated with the receiver. | |
Filter | Gets or sets the data that is associated with the filter for the event receiver. | |
HostId | Gets or sets the identifier of the object that is hosting the event. | |
HostType | Gets or sets the type of object that is hosting the event. | |
Id | Gets the ID of the event receiver definition. | |
Name | Gets or sets the name of the event receiver. | |
ParentHostId | Gets or sets the ID of the parent object of the object that hosts the event. | |
ParentHostType | Gets or sets the object type of the parent object of the object that is hosting the event. | |
SequenceNumber | Gets or sets an integer that represents the relative sequence of the event. | |
SiteId | Gets the ID of the site collection in which the event receiver is registered. | |
Synchronization | Gets an enumeration that specifies the synchronization state for the event receiver. | |
Type | Gets or sets the type of event for the event receiver. | |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) | |
WebId | Gets the ID of the site in which the event receiver is registered. |
Top
Methods
Name | Description | |
---|---|---|
Delete | Deletes the event receiver registration. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FireContextEvent | Executes the event receiver, either synchronously or asynchronously. | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | (Inherited from SPAutoSerializingObject.) | |
ToString | (Inherited from Object.) | |
Update | Updates the data associated with the event receiver registration. | |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top