Show / Hide Table of Contents

Class TaskTimeoutException

Exception for signalling task timeout errors.

Inheritance
System.Object
System.Exception
System.SystemException
System.TimeoutException
TaskTimeoutException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Threading.Tasks
Assembly: Kephas.Core.dll
Syntax
public class TaskTimeoutException : TimeoutException, ISerializable

Constructors

| Improve this Doc View Source

TaskTimeoutException(Task)

Initializes a new instance of the TaskTimeoutException class.

Declaration
public TaskTimeoutException(Task task)
Parameters
Type Name Description
System.Threading.Tasks.Task task

The task that timeout.

| Improve this Doc View Source

TaskTimeoutException(Task, String)

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

Declaration
public TaskTimeoutException(Task task, string message)
Parameters
Type Name Description
System.Threading.Tasks.Task task

The task that timeout.

System.String message

The message that describes the error.

| Improve this Doc View Source

TaskTimeoutException(Task, String, Exception)

Initializes a new instance of the TaskTimeoutException class with the specified error message and inner exception.

Declaration
public TaskTimeoutException(Task task, string message, Exception innerException)
Parameters
Type Name Description
System.Threading.Tasks.Task task

The task that timeout.

System.String message

The message that describes the error.

System.Exception innerException

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Properties

| Improve this Doc View Source

Task

Gets the task that timed out.

Declaration
public Task Task { get; }
Property Value
Type Description
System.Threading.Tasks.Task

The task that timed out.

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggerExtensions.GetLogLevel(Exception)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX