Class TaskValidationException
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents an exception which is thrown when errors are found in project’s tasks after recalculation.
public class TaskValidationException : RecalculationValidationException, ISerializable
Inheritance
object ← Exception ← ApplicationException ← ValidationException ← RecalculationValidationException ← TaskValidationException
Implements
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.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
TaskValidationException(SerializationInfo, StreamingContext)
Initializes a new instance of the Aspose.Tasks.TaskValidationException class.
protected TaskValidationException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfo
The serialization info.
context
StreamingContext
The serialization context.
Properties
Task
Gets the task which caused the exception.
public Task Task { get; }