Show / Hide Table of Contents

Class PendingTaskInterruptedException

The exception thrown when pending asynchronous task is interrupted while it is in waiting state.

Inheritance
object
Exception
PendingTaskInterruptedException
ExchangeTerminatedException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Threading
Assembly: DotNext.Threading.dll
Syntax
public class PendingTaskInterruptedException : Exception, ISerializable

Constructors

View Source

PendingTaskInterruptedException(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
ThreadInterruptedException

Properties

View Source

Reason

Gets the reason for lock steal.

Declaration
public object? Reason { get; init; }
Property Value
Type Description
object

Implements

ISerializable

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)

See Also

ThreadInterruptedException
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾