Class DatabaseRuntimeSelection
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes the active database runtime tuning inputs resolved for a Cephalon app.
public sealed class DatabaseRuntimeSelectionInheritance
Section titled “Inheritance”object ← DatabaseRuntimeSelection
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”DatabaseRuntimeSelection(bool?, bool?, bool?, int?, int?, int?, int?, int?)
Section titled “ DatabaseRuntimeSelection(bool?, bool?, bool?, int?, int?, int?, int?, int?)”Initializes a new instance of the
[JsonConstructor]public DatabaseRuntimeSelection(bool? enableDetailedErrors = null, bool? enableSensitiveDataLogging = null, bool? enableRetryOnFailure = null, int? maxRetryCount = null, int? maxRetryDelaySeconds = null, int? commandTimeoutSeconds = null, int? maxBatchSize = null, int? roleProbeFreshnessSeconds = null)Parameters
Section titled “Parameters”enableDetailedErrors bool?
enableSensitiveDataLogging bool?
enableRetryOnFailure bool?
maxRetryCount int?
maxRetryDelaySeconds int?
commandTimeoutSeconds int?
maxBatchSize int?
roleProbeFreshnessSeconds int?
Properties
Section titled “Properties”CommandTimeoutSeconds
Section titled “ CommandTimeoutSeconds”Gets the command timeout in seconds when one was configured.
public int? CommandTimeoutSeconds { get; }Property Value
Section titled “Property Value”int?
Gets an empty database-runtime selection instance.
public static DatabaseRuntimeSelection Empty { get; }Property Value
Section titled “Property Value”EnableDetailedErrors
Section titled “ EnableDetailedErrors”Gets a value indicating whether detailed provider errors were explicitly selected.
public bool? EnableDetailedErrors { get; }Property Value
Section titled “Property Value”bool?
EnableRetryOnFailure
Section titled “ EnableRetryOnFailure”Gets a value indicating whether transient-failure retries were explicitly selected.
public bool? EnableRetryOnFailure { get; }Property Value
Section titled “Property Value”bool?
EnableSensitiveDataLogging
Section titled “ EnableSensitiveDataLogging”Gets a value indicating whether sensitive-data logging was explicitly selected.
public bool? EnableSensitiveDataLogging { get; }Property Value
Section titled “Property Value”bool?
HasValues
Section titled “ HasValues”Gets a value indicating whether any database-runtime selection inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”MaxBatchSize
Section titled “ MaxBatchSize”Gets the maximum provider batch size when one was configured.
public int? MaxBatchSize { get; }Property Value
Section titled “Property Value”int?
MaxRetryCount
Section titled “ MaxRetryCount”Gets the maximum retry count when transient-failure retries were configured.
public int? MaxRetryCount { get; }Property Value
Section titled “Property Value”int?
MaxRetryDelaySeconds
Section titled “ MaxRetryDelaySeconds”Gets the maximum retry delay in seconds when transient-failure retries were configured.
public int? MaxRetryDelaySeconds { get; }Property Value
Section titled “Property Value”int?
RoleProbeFreshnessSeconds
Section titled “ RoleProbeFreshnessSeconds”Gets the freshness window in seconds for cached database-role probes when one was selected.
A value of 0 disables probe-result caching.
public int? RoleProbeFreshnessSeconds { get; }Property Value
Section titled “Property Value”int?