<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

LongTextStreamResult

Represents a class object with long text stream result details.
public TimeSpan Duration { get; }

Gets the duration to retrieve the long text data.

public string File { get; }

Gets the full path to the written extracted text file.

public string FileName { get; }

Gets the written extracted text file name.

public Exception Issue { get; }

Gets the non-fatal issue for the specified request.

public long Length { get; }

Gets the length, in bytes, of the target file.

Gets the long text stream request.

public int RetryCount { get; }

Gets the total number of retry attempts.

public bool Successful { get; }

Gets a value indicating whether the long text stream transfer is successful.

public static LongTextStreamResult CreateNonFatalIssueResult(LongTextStreamRequest request, int retryCount, Exception issue)

Creates a new long text result for non-fatal errors.

public static LongTextStreamResult CreateSuccessfulResult(LongTextStreamRequest request, string file, long length, int retryCount, TimeSpan duration)

Creates a new long text result for successful transfers.