HealthCheckPublisherOptions.Period 属性
定义
获取或设置执行 IHealthCheckPublisher 的时间段。Gets or sets the period of IHealthCheckPublisher execution. 默认值为 30 秒。The default value is 30 seconds.
public:
property TimeSpan Period { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Period { get; set; }
member this.Period : TimeSpan with get, set
Public Property Period As TimeSpan
属性值
注解
Period不能设置为小于1秒的值。The Period cannot be set to a value lower than 1 second.