ContentIterator.ItemProcessorErrorCallout 委托
通过使用ContentIterator对象来处理列表中的项时,请提供日志记录的信息。
命名空间: Microsoft.Office.Server.Utilities
程序集: Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)
语法
声明
Public Delegate Function ItemProcessorErrorCallout ( _
item As SPListItem, _
e As Exception _
) As Boolean
用法
Dim instance As New ItemProcessorErrorCallout(AddressOf HandlerMethod)
public delegate bool ItemProcessorErrorCallout(
SPListItem item,
Exception e
)
参数
item
类型:Microsoft.SharePoint.SPListItem导致处理错误的项。
e
类型:System.Exception包含有关处理错误的信息。
返回值
类型:System.Boolean
true如果应再次为引发异常否则为false。