AbortSignalException Class
Thrown by AbortSignal.ThrowIfAborted when the abort reason is not an exception.
public sealed class AbortSignalException : Exception- Inheritance
ExceptionAbortSignalException
Constructors
| Name | Description |
|---|---|
| AbortSignalException() | Creates an exception with a default message. |
| AbortSignalException(string?) | Creates an exception with the given message. |
| AbortSignalException(string?, Exception?) | Creates an exception with the given message and inner exception. |
AbortSignalException overloads
AbortSignalException()
AbortSignal.csCreates an exception with a default message.
public AbortSignalException()AbortSignalException(string?)
AbortSignal.csAbortSignalException(string?, Exception?)
AbortSignal.csCreates an exception with the given message and inner exception.
Parameters
messagestring?innerExceptionException?
Properties
| Name | Description |
|---|---|
| Reason | Gets the abort reason. |