Compartilhar via


ContentIterator.FileProcessorErrorCallout Delegate

Represents a delegate for handling errors that occur when processing a file.

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

Syntax

'Declaration
Public Delegate Function FileProcessorErrorCallout ( _
    file As SPFile, _
    e As Exception _
) As Boolean
'Usage
Dim instance As New FileProcessorErrorCallout(AddressOf HandlerMethod)
public delegate bool FileProcessorErrorCallout(
    SPFile file,
    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 ProcessFile method, the ProcessFiles method, the ProcessFilesInFolder method. This delegate will be called if any exception is thrown while processing a file.

See Also

Reference

Microsoft.Office.Server.Utilities Namespace