EventReceiverUtility.RunAndHandleVersionConflicts method (SPListEventProperties, EventReceiverUtility.ListEventReceiverCodeToRun)
Runs code and manages version conflicts.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Shared Sub RunAndHandleVersionConflicts ( _
properties As SPListEventProperties, _
codeToRun As EventReceiverUtility.ListEventReceiverCodeToRun _
)
'Usage
Dim properties As SPListEventProperties
Dim codeToRun As EventReceiverUtility.ListEventReceiverCodeToRunEventReceiverUtility.RunAndHandleVersionConflicts(properties, _
codeToRun)
public static void RunAndHandleVersionConflicts(
SPListEventProperties properties,
EventReceiverUtility.ListEventReceiverCodeToRun codeToRun
)
Parameters
properties
Type: Microsoft.SharePoint.SPListEventPropertiesSPListEventProperties.
codeToRun
Type: Microsoft.Office.Server.Utilities.EventReceiverUtility.ListEventReceiverCodeToRunCode to run as determined by the list event receiver.