DesktopPresentationAttempt record

Namespace Runic.Desktop in Runic.Desktop 0.23.0

public sealed record DesktopPresentationAttempt : IEquatable<DesktopPresentationAttempt>

Inherits or implements IEquatable.

One presentation a window tried to open, and why it failed.

Parameters

Browser

The presentation as requested, such as BrowserKind.Embedded or BrowserKind.ChromiumBased.

Failure

The failure, with its stable category and code, such as browser-not-found.

Constructors

DesktopPresentationAttempt

public DesktopPresentationAttempt(BrowserKind Browser, DesktopException Failure)

One presentation a window tried to open, and why it failed.

Parameters

Browser

The presentation as requested, such as BrowserKind.Embedded or BrowserKind.ChromiumBased.

Failure

The failure, with its stable category and code, such as browser-not-found.

Properties

Browser

public BrowserKind Browser { get; init; }

The presentation as requested, such as BrowserKind.Embedded or BrowserKind.ChromiumBased.

Failure

public DesktopException Failure { get; init; }

Gets the failure, with its stable category and code, such as browser-not-found.