Class TimeoutSelection
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes the timeout-policy inputs resolved for a Cephalon app.
public sealed class TimeoutSelectionInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TimeoutSelection(bool?, int?, int?)
Section titled “ TimeoutSelection(bool?, int?, int?)”Initializes a new instance of the
[JsonConstructor]public TimeoutSelection(bool? enabled = null, int? totalTimeoutSeconds = null, int? attemptTimeoutSeconds = null)Parameters
Section titled “Parameters”enabled bool?
Whether timeout support was explicitly enabled.
totalTimeoutSeconds int?
The overall timeout in seconds requested for an execution.
attemptTimeoutSeconds int?
The per-attempt timeout in seconds requested for an execution.
Properties
Section titled “Properties”AttemptTimeoutSeconds
Section titled “ AttemptTimeoutSeconds”Gets the per-attempt timeout in seconds requested for an execution.
public int? AttemptTimeoutSeconds { get; }Property Value
Section titled “Property Value”int?
Gets an empty timeout-selection instance.
public static TimeoutSelection Empty { get; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Gets a value indicating whether timeout support was explicitly enabled.
public bool? Enabled { get; }Property Value
Section titled “Property Value”bool?
HasValues
Section titled “ HasValues”Gets a value indicating whether any timeout-selection inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”TotalTimeoutSeconds
Section titled “ TotalTimeoutSeconds”Gets the overall timeout in seconds requested for an execution.
public int? TotalTimeoutSeconds { get; }Property Value
Section titled “Property Value”int?