Show / Hide Table of Contents

Class TaskNotCompletedException

Exception for signalling task not completed errors.

Inheritance
System.Object
System.Exception
TaskNotCompletedException
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 TaskNotCompletedException : Exception, ISerializable

Constructors

| Improve this Doc View Source

TaskNotCompletedException(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 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 is not completed.

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

The task that is not completed.

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