Compartilhar via


ContentIterator.WebProcessorErrorCallout Delegate

Delegate for handling errors processing a web.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Delegate Function WebProcessorErrorCallout ( _
    web As SPWeb, _
    e As Exception _
) As Boolean
'Usage
Dim instance As New WebProcessorErrorCallout(AddressOf HandlerMethod)
public delegate bool WebProcessorErrorCallout(
    SPWeb web,
    Exception e
)

Parameters

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 the ProcessSite method. This delegate will be called if any exception is thrown while processing web.

See Also

Reference

Microsoft.Office.Server.Utilities Namespace