Table of Contents

Class DownloadResult.Failure

Namespace
Homa.Sdk.Foundation
Assembly
Homa.Sdk.Foundation.dll

The result of a failed file download.

public sealed record DownloadResult.Failure : DownloadResult, IEquatable<DownloadResult>, IEquatable<DownloadResult.Failure>
Inheritance
DownloadResult.Failure
Implements
Inherited Members

Constructors

Failure(Exception)

The result of a failed file download.

public Failure(Exception Exception)

Parameters

Exception Exception

Contains the error that caused the request to fail.

Properties

Exception

Contains the error that caused the request to fail.

public Exception Exception { get; init; }

Property Value

Exception

HttpRequestFailureCause

Contains the HttpRequestFailureCause if the failure was caused by a HttpRequestExecutionException.

public HttpRequestFailureCause? HttpRequestFailureCause { get; }

Property Value

HttpRequestFailureCause?