Class MongoDbDependencyHealthOptions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.MongoDbDependencies.Configuration
Assembly: Cephalon.Observability.MongoDbDependencies.dll
Configures MongoDB dependency probes contributed to Cephalon runtime health.
public sealed class MongoDbDependencyHealthOptions : DependencyHealthOptionsBase<MongoDbDependencyDefinition>Inheritance
Section titled “Inheritance”object ← DependencyHealthOptionsBase<MongoDbDependencyDefinition> ← MongoDbDependencyHealthOptions
Inherited Members
Section titled “Inherited Members”DependencyHealthOptionsBase<MongoDbDependencyDefinition>.RefreshIntervalSeconds, DependencyHealthOptionsBase<MongoDbDependencyDefinition>.Dependencies, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”MongoDbDependencyHealthOptions()
Section titled “ MongoDbDependencyHealthOptions()”Initializes a new instance of the
public MongoDbDependencyHealthOptions()Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds MongoDB dependency-health options from configuration.
public static MongoDbDependencyHealthOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration
The application configuration root.
sectionPath string
The configuration section path that contains the engine settings. The default is Engine.
Returns
Section titled “Returns”MongoDbDependencyHealthOptions
The bound dependency-health options.