ข้ามไปยังเนื้อหา

Class TimeoutSettings

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll

Describes configuration-driven timeout settings for a Cephalon app.

public sealed class TimeoutSettings

objectTimeoutSettings

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public TimeoutSettings(bool? enabled = null, int? totalTimeoutSeconds = null, int? attemptTimeoutSeconds = null)

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.

Gets the per-attempt timeout in seconds requested for an execution.

public int? AttemptTimeoutSeconds { get; }

int?

Gets an empty timeout-settings instance.

public static TimeoutSettings Empty { get; }

TimeoutSettings

Gets a value indicating whether timeout support was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets a value indicating whether any timeout settings were explicitly supplied.

public bool HasValues { get; }

bool

Gets the overall timeout in seconds requested for an execution.

public int? TotalTimeoutSeconds { get; }

int?