OwnerClosedException class

Namespace Runic.Platform.Runtime in Runic.Platform.Runtime 0.23.0

public sealed class OwnerClosedException : InvalidOperationException

Inherits or implements InvalidOperationException.

The native presentation owner is no longer usable.

Remarks

An INativeWindowOwner throws it from INativeWindowOwner.InvokeAsync once its window has closed.

Constructors

OwnerClosedException

public OwnerClosedException()

Creates the exception with the default message.

OwnerClosedException

public OwnerClosedException(string? message)

Creates the exception with message.

OwnerClosedException

public OwnerClosedException(string? message, Exception? innerException)

Creates the exception with message and the native error that caused it.