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

See also

Reference

EventReceiverUtility class

EventReceiverUtility members

RunAndHandleVersionConflicts overload

Microsoft.Office.Server.Utilities namespace