[AlphaFS] Represents the method that will handle an error raised during retrieving file system entries.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public delegate bool ErrorHandler(
int errorCode,
string errorMessage,
string pathProcessed
)
Public Delegate Function ErrorHandler (
errorCode As Integer,
errorMessage As String,
pathProcessed As String
) As Boolean
public delegate bool ErrorHandler(
int errorCode,
String^ errorMessage,
String^ pathProcessed
)
type ErrorHandler =
delegate of
errorCode : int *
errorMessage : string *
pathProcessed : string -> bool
Parameters
- errorCode
- Type: SystemInt32
- errorMessage
- Type: SystemString
- pathProcessed
- Type: SystemString
Return Value
Type:
Boolean, if the error has been fully handled and the caller may proceed,
The error code.The error message.The faulty path being processed.
otherwise, in which case the caller will throw the corresponding exception.
See Also