Table of Contents

Class BackupFailure

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

A backup failure, as the status reports it.

public sealed record BackupFailure : IEquatable<BackupFailure>
Inheritance
BackupFailure
Implements
Inherited Members

Constructors

BackupFailure(DateTime, string, string)

A backup failure, as the status reports it.

public BackupFailure(DateTime Utc, string Kind, string Message)

Parameters

Utc DateTime

When it ended.

Kind string

The exception's type name, or the capture's abort reason.

Message string

What failed.

Properties

Kind

The exception's type name, or the capture's abort reason.

public string Kind { get; init; }

Property Value

string

Message

What failed.

public string Message { get; init; }

Property Value

string

Utc

When it ended.

public DateTime Utc { get; init; }

Property Value

DateTime

Methods

Deconstruct(out DateTime, out string, out string)

public void Deconstruct(out DateTime Utc, out string Kind, out string Message)

Parameters

Utc DateTime
Kind string
Message string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupFailure?)

public bool Equals(BackupFailure? other)

Parameters

other BackupFailure

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupFailure?, BackupFailure?)

public static bool operator ==(BackupFailure? left, BackupFailure? right)

Parameters

left BackupFailure
right BackupFailure

Returns

bool

operator !=(BackupFailure?, BackupFailure?)

public static bool operator !=(BackupFailure? left, BackupFailure? right)

Parameters

left BackupFailure
right BackupFailure

Returns

bool