Class TaskNotCompletedException
Exception for signalling task not completed errors.
Inheritance
Implements
Inherited Members
Namespace: Kephas.Threading.Tasks
Assembly: Kephas.Core.dll
Syntax
public class TaskNotCompletedException : Exception, ISerializable
Constructors
| Improve this Doc View SourceTaskNotCompletedException(Task)
Initializes a new instance of the TaskNotCompletedException class.
Declaration
public TaskNotCompletedException(Task task)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.Tasks.Task | task | The task that is not completed. |
TaskNotCompletedException(Task, String)
Initializes a new instance of the TaskNotCompletedException class with the specified error message.
Declaration
public TaskNotCompletedException(Task task, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.Tasks.Task | task | The task that is not completed. |
System.String | message | The message that describes the error. |
TaskNotCompletedException(Task, String, Exception)
Initializes a new instance of the TaskNotCompletedException class with the specified error message and inner exception.
Declaration
public TaskNotCompletedException(Task task, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.Tasks.Task | task | The task that is not completed. |
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 is not completed.
Declaration
public Task Task { get; }
Property Value
Type | Description |
---|---|
System.Threading.Tasks.Task | The task that is not completed. |