IoReporter
Represents a class object to perform I/O operations, publish warning messages, and retry the operation.
Gets the cached application settings.
Gets the cancellation token.
Gets the I/O reporter context.
Gets the maximum number of retries. This value is cached for performance critical code.
Gets the wait time in seconds between retry attempts. This value is cached for performance critical code.
Gets the Relativity logger.
Initializes a new instance of the IoReporter class.
Creates warning message from exception.
public static string BuildIoReporterWarningMessage(Exception exception, double timeoutSeconds, int retryCount, int totalRetryCount)
Creates warning message out of passed exception.
public virtual void CopyFile(string sourceFileName, string destFileName, bool overwrite, int lineNumber)
public virtual void PublishRetryMessage(Exception exception, TimeSpan timeSpan, int retryCount, int totalRetryCount, long lineNumber)