SourceLocationProvider.GetSourceLocations(Activity, WorkflowSymbol) 方法

定义

获取指定的根活动和工作流标志的源位置。

public:
 static System::Collections::Generic::Dictionary<System::Object ^, System::Activities::Debugger::SourceLocation ^> ^ GetSourceLocations(System::Activities::Activity ^ rootActivity, System::Activities::Debugger::Symbol::WorkflowSymbol ^ symbol);
public static System.Collections.Generic.Dictionary<object,System.Activities.Debugger.SourceLocation> GetSourceLocations (System.Activities.Activity rootActivity, System.Activities.Debugger.Symbol.WorkflowSymbol symbol);
static member GetSourceLocations : System.Activities.Activity * System.Activities.Debugger.Symbol.WorkflowSymbol -> System.Collections.Generic.Dictionary<obj, System.Activities.Debugger.SourceLocation>
Public Shared Function GetSourceLocations (rootActivity As Activity, symbol As WorkflowSymbol) As Dictionary(Of Object, SourceLocation)

参数

rootActivity
Activity

表示从中获取源位置的根活动的工作流元素。

symbol
WorkflowSymbol

包含工作流标志的对象。

返回

一个包含源位置的 Dictionary<TKey,TValue> 对象。

适用于