Sdílet prostřednictvím


ActivityExecutionContextManager.CreateExecutionContext(Activity) Metoda

Definice

Vytvoří ActivityExecutionContext pro označený Activity .

public:
 System::Workflow::ComponentModel::ActivityExecutionContext ^ CreateExecutionContext(System::Workflow::ComponentModel::Activity ^ activity);
public System.Workflow.ComponentModel.ActivityExecutionContext CreateExecutionContext (System.Workflow.ComponentModel.Activity activity);
member this.CreateExecutionContext : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.ActivityExecutionContext
Public Function CreateExecutionContext (activity As Activity) As ActivityExecutionContext

Parametry

activity
Activity

Určené Activity .

Návraty

ActivityExecutionContext

Vytvořena ActivityExecutionContext pro určenou Activity .

Výjimky

activity je odkaz s hodnotou null ( Nothing v Visual Basic).

activity není platná podřízená aktivita vlastníka tohoto kontextu.

Platí pro