ActivityExecutionContextManager.GetExecutionContext(Activity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ActivityExecutionContext associated with the designated Activity.
public:
System::Workflow::ComponentModel::ActivityExecutionContext ^ GetExecutionContext(System::Workflow::ComponentModel::Activity ^ activity);
public System.Workflow.ComponentModel.ActivityExecutionContext GetExecutionContext (System.Workflow.ComponentModel.Activity activity);
member this.GetExecutionContext : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.ActivityExecutionContext
Public Function GetExecutionContext (activity As Activity) As ActivityExecutionContext
Parameters
Returns
The ActivityExecutionContext associated with the designated Activity.
Exceptions
activity
is a null reference (Nothing
in Visual basic).
Remarks
Returns the first context for an activity with the same qualified name as the designated activity.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.