public sealed class DesktopPresentationException : DesktopException Reports that every presentation of a window's fallback chain failed to open.
Remarks
DesktopSurface.OpenWindowAsync throws it when DesktopWindowOptions.Fallbacks or DesktopPresentationPolicy.EmbeddedThenBrowser names more than one presentation and none opened. DesktopException.Category, DesktopException.Code and DesktopException.Retryable are those of the last attempt, which is also the inner exception, so a handler of the single-presentation failure codes keeps working. A window that opened without connecting (connection-timeout) ends the chain with that failure instead.
Constructors
DesktopPresentationException
public DesktopPresentationException(IReadOnlyList<DesktopPresentationAttempt> attempts) Creates the failure from the attempts, in the order they were made.
Parameters
attemptsThe failed attempts; at least one.
Exceptions
ArgumentExceptionattemptsis empty or containsnull.
Properties
Attempts
public IReadOnlyList<DesktopPresentationAttempt> Attempts { get; } Gets every presentation that was tried and why it failed, in the order they were tried.