Class PendingTaskInterruptedException
The exception thrown when pending asynchronous task is interrupted while it is in waiting state.
Implements
Inherited Members
Namespace: DotNext.Threading
Assembly: DotNext.Threading.dll
Syntax
public class PendingTaskInterruptedException : Exception, ISerializable
Constructors
| Edit this page View SourcePendingTaskInterruptedException(string?, Exception?)
The exception thrown when pending asynchronous task is interrupted while it is in waiting state.
Declaration
public PendingTaskInterruptedException(string? message = null, Exception? innerException = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
| Exception | innerException | The exception that is the cause of the current exception. |
See Also
Properties
| Edit this page View SourceReason
Gets the reason for lock steal.
Declaration
public object? Reason { get; init; }
Property Value
| Type | Description |
|---|---|
| object |