TrackingWorkflowExceptionEventArgs.CurrentActivityPath Property

Gets the QualifiedName of the activity currently throwing the exception.

Namespace:  System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public string CurrentActivityPath { get; }

Property Value

Type: System.String
The 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. 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 refers to the activity that is currently throwing the exception.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft