<PackageReference Include="Relativity.Transfer.SDK" Version="4.11.1" />

Relativity.Transfer.SDK.Interfaces.ProgressReporting.TransferJobResult

public sealed class TransferJobResult
Result from transfer job
public Guid CorrelationId { get; }

The tracking identifier.

public TimeSpan Elapsed { get; }

The total duration of the transfer.

The failure category of most frequent failure reason exception (MostFrequentException). For no exception and by default is null

The collection of progress steps, that can help you track the progress of the transfer job. Each job consists of multiple steps.

public ITransferJobState State { get; }

Gets the final state of the transfer.

public DateTime Timestamp { get; }

Timestamp (in UTC) of when the transfer result was created.

public long TotalBytes { get; }

Gets the number of bytes that have been transferred.

public long? TotalEmptyDirectoriesFailed { get; }

Gets the number of empty directories that has failed if the transfer supports reporting it. Otherwise 0.

public long? TotalEmptyDirectoriesSkipped { get; }

Gets the number of empty directories that have been skipped if the transfer supports reporting it. Otherwise null.

public long? TotalEmptyDirectoriesTransferred { get; }

Gets the number of empty directories that have been transferred if the transfer supports reporting it. Otherwise null.

public long TotalFilesFailed { get; }

Gets the number of files that are failed to be transferred.

public long TotalFilesSkipped { get; }

Gets the number of files that are skipped to be transferred.

public long TotalFilesTransferred { get; }

Gets the number of files that have been transferred.

public TransferJobResult(Guid correlationId, DateTime timestamp, TimeSpan elapsed, long totalBytes, long totalFilesTransferred, long totalFilesFailed, long totalFilesSkipped, ITransferJobState jobState, IReadOnlyCollection<StepProgress> progressSteps)

Initializes a new instance of the TransferJobResult class.

public TransferJobResult(Guid correlationId, DateTime timestamp, TimeSpan elapsed, long totalBytes, long totalFilesTransferred, long totalFilesFailed, long totalFilesSkipped, long totalEmptyDirectoriesTransferred, long totalEmptyDirectoriesFailed, long totalEmptyDirectoriesSkipped, ITransferJobState state, FailureCategory? failureCategory, IReadOnlyCollection<StepProgress> progressSteps)

Initializes a new instance of the TransferJobResult class.