Condividi tramite


ContentIterator.SiteProcessorErrorCallout Delegate

Delegate for handling errors processing a site.

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

Syntax

'Declaration
Public Delegate Function SiteProcessorErrorCallout ( _
    site As SPSite, _
    e As Exception _
) As Boolean
'Usage
Dim instance As New SiteProcessorErrorCallout(AddressOf HandlerMethod)
public delegate bool SiteProcessorErrorCallout(
    SPSite site,
    Exception e
)

Parameters

Return Value

Type: System.Boolean
true if the exception should be re-thrown;otherwise, false.

Remarks

A delegate of this type can be optionally passed to the ProcessSites method. This delegate will be called if any exception is thrown while processing site.

See Also

Reference

Microsoft.Office.Server.Utilities Namespace