FileLogWriterFailureContext(String, Int32, Exception, Boolean) Constructor

Definition

Assembly XenoAtom.Logging.dll

Provides contextual information for a failed file write operation.

public FileLogWriterFailureContext(string FilePath, int Attempt, Exception Exception, bool WillRetry)

Parameters

FilePath
String

The target file path.

Attempt
Int32

The attempt number (1-based).

Exception
Exception?

The exception raised by the failed operation.

WillRetry
Boolean

A value indicating whether the writer will retry.