FaultPropagationRecord 构造函数

定义

创建 FaultPropagationRecord 类的新实例。

public:
 FaultPropagationRecord(Guid instanceId, long recordNumber, System::Activities::Tracking::ActivityInfo ^ faultSource, System::Activities::Tracking::ActivityInfo ^ faultHandler, bool isFaultSource, Exception ^ fault);
public FaultPropagationRecord (Guid instanceId, long recordNumber, System.Activities.Tracking.ActivityInfo faultSource, System.Activities.Tracking.ActivityInfo faultHandler, bool isFaultSource, Exception fault);
new System.Activities.Tracking.FaultPropagationRecord : Guid * int64 * System.Activities.Tracking.ActivityInfo * System.Activities.Tracking.ActivityInfo * bool * Exception -> System.Activities.Tracking.FaultPropagationRecord
Public Sub New (instanceId As Guid, recordNumber As Long, faultSource As ActivityInfo, faultHandler As ActivityInfo, isFaultSource As Boolean, fault As Exception)

参数

instanceId
Guid

生成事件的活动的实例 ID。

recordNumber
Int64

一个定义跟踪事件生成顺序的序列。

faultSource
ActivityInfo

作为错误源的活动。

faultHandler
ActivityInfo

作为错误处理器的活动。

isFaultSource
Boolean

如果此处理器是异常的第一个处理器,则为 true;如果此处理器是错误的后续处理器,则为 false

fault
Exception

异常详细信息。

适用于