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

objectExceptionManager.Options

30.252.2. Implements

IEquatable<ExceptionManager.Options>

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 and the

SelfTerminationDelay TimeSpan

Delay between the maximum errors recording and the trigger.

MaxError int?

Maximum number of allowed errors

30.252.5. Properties

30.252.5.1. GraceDelay

Delay between the and the

public TimeSpan GraceDelay { get; init; }

30.252.5.1.1. Property Value

TimeSpan

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 trigger.

public TimeSpan SelfTerminationDelay { get; init; }

30.252.5.3.1. Property Value

TimeSpan

30.252.6. Methods

30.252.6.1. FromPollsterOptions(Pollster)

Convert to

public static ExceptionManager.Options FromPollsterOptions(Pollster pollsterOptions)

30.252.6.1.1. Parameters

pollsterOptions Pollster

Options to convert

30.252.6.1.2. Returns

ExceptionManager.Options

30.252.6.2. FromSubmitterOptions(Submitter)

Convert to

public static ExceptionManager.Options FromSubmitterOptions(Submitter submitterOptions)

30.252.6.2.1. Parameters

submitterOptions Submitter

Options to convert

30.252.6.2.2. Returns

ExceptionManager.Options