EventReceiverUtility.RunAndHandleVersionConflicts Method (SPWebEventProperties, EventReceiverUtility.WebEventReceiverCodeToRun)
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 SPWebEventProperties, _
codeToRun As EventReceiverUtility.WebEventReceiverCodeToRun _
)
'Usage
Dim properties As SPWebEventProperties
Dim codeToRun As EventReceiverUtility.WebEventReceiverCodeToRun
EventReceiverUtility.RunAndHandleVersionConflicts(properties, _
codeToRun)
public static void RunAndHandleVersionConflicts(
SPWebEventProperties properties,
EventReceiverUtility.WebEventReceiverCodeToRun codeToRun
)
Parameters
- properties
Type: Microsoft.SharePoint.SPWebEventProperties
SPWebEventProperties.
- codeToRun
Type: Microsoft.Office.Server.Utilities.EventReceiverUtility.WebEventReceiverCodeToRun
Code to run as determined by the web event receiver.