Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetEventReceiverToSynchronous method
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft