TrackingWorkflowExceptionEventArgs.CurrentActivityPath 属性

定义

获取当前引发异常的活动的 QualifiedNameGets the QualifiedName of the activity currently throwing the exception.

public:
 property System::String ^ CurrentActivityPath { System::String ^ get(); };
public string CurrentActivityPath { get; }
member this.CurrentActivityPath : string
Public ReadOnly Property CurrentActivityPath As String

属性值

String

当前引发异常的活动的 QualifiedNameThe QualifiedName of the activity currently throwing the exception.

注解

异常将在一系列异常处理程序活动中向上传递。Exceptions are passed up the chain of exception handler activities. 异常处理程序可能会选择再次引发异常。An exception handler may choose to throw an exception again. 当异常处理程序再次引发异常时,将会在运行时跟踪基础结构中引发一个包含新 TrackingWorkflowExceptionEventArgs 的新异常跟踪事件。When an exception handler throws the exception again, a new exception tracking event containing a new TrackingWorkflowExceptionEventArgs is raised to the runtime tracking infrastructure. CurrentActivityPath 引用当前引发异常的活动。CurrentActivityPath refers to the activity that is currently throwing the exception.

适用于