Export (0) Print
Expand All
Expand Minimize

SPUtility.SetEventReceiverToSynchronous method

Set all registrations of the given event receiver to synchronous.

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

public static void SetEventReceiverToSynchronous(
	SPSite site,
	string eventReceiverAssembly,
	string eventReceiverClass,
	SPEventReceiverType eventReceiverType
)

Parameters

site
Type: Microsoft.SharePoint.SPSite
eventReceiverAssembly
Type: System.String
eventReceiverClass
Type: System.String
eventReceiverType
Type: Microsoft.SharePoint.SPEventReceiverType
Show:
© 2014 Microsoft