Table of Contents

Class ReloadErrorEvent

Namespace
Apq.Cfg.Changes
Assembly
Apq.Cfg.dll

配置重载错误事件

public sealed class ReloadErrorEvent
Inheritance
ReloadErrorEvent
Inherited Members

Constructors

ReloadErrorEvent(IReadOnlySet<int>, Exception, bool)

public ReloadErrorEvent(IReadOnlySet<int> affectedLevels, Exception exception, bool rolledBack)

Parameters

affectedLevels IReadOnlySet<int>
exception Exception
rolledBack bool

Properties

AffectedLevels

发生错误的配置源层级

public IReadOnlySet<int> AffectedLevels { get; }

Property Value

IReadOnlySet<int>

Exception

异常信息

public Exception Exception { get; }

Property Value

Exception

RolledBack

是否已回滚到之前的配置

public bool RolledBack { get; }

Property Value

bool

Timestamp

错误发生的时间戳

public DateTimeOffset Timestamp { get; }

Property Value

DateTimeOffset