ISPEventReceiversHost.AddEventReceiverCallback Method
Adds one web-based RPC context process to the collection of all predefined event receiver processes available to the SharePoint server.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Sub AddEventReceiverCallback ( _
eventReceiverDefinition As SPEventReceiverDefinition, _
contextList As SPList _
)
'Usage
Dim instance As ISPEventReceiversHost
Dim eventReceiverDefinition As SPEventReceiverDefinition
Dim contextList As SPList
instance.AddEventReceiverCallback(eventReceiverDefinition, _
contextList)
void AddEventReceiverCallback(
SPEventReceiverDefinition eventReceiverDefinition,
SPList contextList
)
Parameters
eventReceiverDefinition
Type: Microsoft.SharePoint.SPEventReceiverDefinitionAn SPEventReceiverDefinition object that represents the event receiver.
contextList
Type: Microsoft.SharePoint.SPListAn SPList object that represents the the receiver process.