SPUtility.SetEventReceiverToSynchronous method
SharePoint 2013
Set all registrations of the given event receiver to synchronous.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)] 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