TestimoX

API Reference

Class

DnsLogBatchProgress

Namespace ADPlayground
Assembly ADPlayground
Modifiers sealed

Provides detailed progress information for DNS log processing operations.

Inheritance

  • Object
  • DnsLogBatchProgress

Constructors

DnsLogBatchProgress 2 overloads
public DnsLogBatchProgress(String filePath, Int64 bytesRead, Int32 entriesParsed, Exception exception = null) #

Initializes a new instance of the DnsLogBatchProgress class.

Parameters

filePath System.String requiredposition: 0
Path of the log file being processed.
bytesRead System.Int64 requiredposition: 1
Number of bytes read from the file.
entriesParsed System.Int32 requiredposition: 2
Number of entries parsed from the file.
exception System.Exception = null optionalposition: 3
Optional exception encountered during processing.
public DnsLogBatchProgress(String filePath, Int64 bytesRead, Int32 entriesParsed, Exception exception, DnsLogBatchStage stage, Int64 totalBytes) #

Extended constructor allowing copy/parse stage and total size to be reported.

Parameters

filePath System.String requiredposition: 0
Path of the log file being processed.
bytesRead System.Int64 requiredposition: 1
Number of bytes read from the file.
entriesParsed System.Int32 requiredposition: 2
Number of entries parsed from the file.
exception System.Exception requiredposition: 3
Optional exception encountered during processing.
stage ADPlayground.DnsLogBatchStage requiredposition: 4
Current stage of the operation.
totalBytes System.Int64 requiredposition: 5
Total bytes expected for the operation.

Properties

public String FilePath { get; } #

Gets the path of the file being processed.

public Int64 BytesRead { get; } #

Gets the number of bytes read from the file.

public Int32 EntriesParsed { get; } #

Gets the number of entries parsed from the file.

public Exception Exception { get; } #

Gets the exception encountered during processing, if any.

public DnsLogBatchStage Stage { get; } #

Gets the current stage (copying or parsing).

public Int64 TotalBytes { get; } #

Gets the total bytes for the operation, when provided.