Class ResultAbortedException

Namespace: ArmoniK.Api.Common.Exceptions
Assembly: ArmoniK.Api.Common.dll

Exception raised when results are aborted

public class ResultAbortedException : Exception, ISerializable

Inheritance

objectExceptionResultAbortedException

Implements

ISerializable

Inherited Members

Exception.GetBaseException(), Exception.GetObjectData(SerializationInfo, StreamingContext), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()

Constructors

ResultAbortedException(string, string, List<string>, HashSet<string>)

Initializes a new instance of the with the specified error message

public ResultAbortedException(string message, string abortedResultId, List<string> completedResultIds, HashSet<string> remainingResultIds)

Parameters

message string

The error message

abortedResultId string

The aborted Result’s id

completedResultIds List<string>

The completed Results’s Ids

remainingResultIds HashSet<string>

The Results’s Ids still not processed

Properties

AbortedResultId

The aborted Result’s id

public string AbortedResultId { get; }

Property Value

string

CompletedResultIds

The already completed Results’s Ids when the exception is raised

public IReadOnlyCollection<string> CompletedResultIds { get; }

Property Value

IReadOnlyCollection<string>

RemainingResultIds

The collection of Results’s Ids that have not yet been processed or retrieved.

public IReadOnlyCollection<string> RemainingResultIds { get; }

Property Value

IReadOnlyCollection<string>