30.252. Class ExceptionManager.Options
Namespace: ArmoniK.Core.Common.Utils
Assembly: ArmoniK.Core.Common.dll
Options for the ExceptionManger
public record ExceptionManager.Options : IEquatable<ExceptionManager.Options>
30.252.1. Inheritance
30.252.2. Implements
30.252.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
30.252.4. Constructors
30.252.4.1. Options(TimeSpan, TimeSpan, int?)
Options for the ExceptionManger
public Options(TimeSpan GraceDelay = default, TimeSpan SelfTerminationDelay = default, int? MaxError = null)
30.252.4.1.1. Parameters
GraceDelay TimeSpan
Delay between the
SelfTerminationDelay TimeSpan
Delay between the maximum errors recording and the
MaxError int?
Maximum number of allowed errors
30.252.5. Properties
30.252.5.1. GraceDelay
Delay between the
public TimeSpan GraceDelay { get; init; }
30.252.5.1.1. Property Value
30.252.5.2. MaxError
Maximum number of allowed errors
public int? MaxError { get; init; }
30.252.5.2.1. Property Value
int?
30.252.5.3. SelfTerminationDelay
Delay between the maximum errors recording and the
public TimeSpan SelfTerminationDelay { get; init; }
30.252.5.3.1. Property Value
30.252.6. Methods
30.252.6.1. FromPollsterOptions(Pollster)
Convert
public static ExceptionManager.Options FromPollsterOptions(Pollster pollsterOptions)
30.252.6.1.1. Parameters
pollsterOptions Pollster
Options to convert
30.252.6.1.2. Returns
30.252.6.2. FromSubmitterOptions(Submitter)
Convert
public static ExceptionManager.Options FromSubmitterOptions(Submitter submitterOptions)
30.252.6.2.1. Parameters
submitterOptions Submitter
Options to convert