ContentIterator.ItemsProcessorErrorCallout Delegate
Delegate for handling errors processing a list of items.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Delegate Function ItemsProcessorErrorCallout ( _
items As SPListItemCollection, _
e As Exception _
) As Boolean
'Usage
Dim instance As New ItemsProcessorErrorCallout(AddressOf HandlerMethod)
public delegate bool ItemsProcessorErrorCallout(
SPListItemCollection items,
Exception e
)
Parameters
- items
Type: Microsoft.SharePoint.SPListItemCollection
- e
Type: System.Exception
Return Value
Type: System.Boolean
true if the exception should be thrown again; otherwise, false.
Remarks
A delegate of this type can be optionally passed to certain overloads of the ProcessListItems method. This delegate will be called if any exception is thrown while processing a page of list items.