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.ListEventReceiverCodeToRun
EventReceiverUtility.RunAndHandleVersionConflicts(properties, _
codeToRun)
public static void RunAndHandleVersionConflicts(
SPListEventProperties properties,
EventReceiverUtility.ListEventReceiverCodeToRun codeToRun
)
Parameters
- properties
Type: Microsoft.SharePoint.SPListEventProperties
SPListEventProperties.
- codeToRun
Type: Microsoft.Office.Server.Utilities.EventReceiverUtility.ListEventReceiverCodeToRun
Code to run as determined by the list event receiver.