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 SourceTaskTimeoutException(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. |
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. |
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 |
Properties
| Improve this Doc View SourceTask
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