HostAbortedException Class

Definition

The exception that is thrown upon IHost abortion.

C#
[System.Serializable]
public sealed class HostAbortedException : Exception
Inheritance
HostAbortedException
Attributes

Constructors

HostAbortedException()

Initializes a new instance of the HostAbortedException class with a system-supplied error message.

HostAbortedException(String, Exception)

Initializes a new instance of the HostAbortedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

HostAbortedException(String)

Initializes a new instance of the HostAbortedException class with a specified error message.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)