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