ActivityContext Class
The base class for context classes that represent the execution environment of an activity.
Assembly: System.Activities (in System.Activities.dll)
System.Activities::ActivityContext
System.Activities::CodeActivityContext
System.Activities::NativeActivityAbortContext
System.Activities::NativeActivityContext
| Name | Description | |
|---|---|---|
![]() | ActivityInstanceId | Gets the unique identifier of the currently executing activity instance. |
![]() | DataContext | Gets the data context of the currently executing activity. |
![]() | WorkflowInstanceId | Gets the unique indentifier of the currently executing workflow instance. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetExtension<T>() | Returns an extension of the specified type. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLocation<T>(LocationReference^) | Returns the typed location for the specified referenced location for the current activity context. |
![]() | GetType() | |
![]() | GetValue(Argument^) | Gets the value of the specified Argument. |
![]() | GetValue(RuntimeArgument^) | Gets the value of the specified RuntimeArgument. |
![]() | GetValue<T>(InArgument<T>^) | Gets the value of the specified InArgument<T>. |
![]() | GetValue<T>(InOutArgument<T>^) | Gets the value of the specified InOutArgument<T>. |
![]() | GetValue<T>(LocationReference^) | Gets the value at the specified LocationReference. |
![]() | GetValue<T>(OutArgument<T>^) | Gets the value of the specified OutArgument<T>. |
![]() | MemberwiseClone() | |
![]() | SetValue(Argument^, Object^) | Assigns a value to the specified Argument. |
![]() | SetValue<T>(InArgument<T>^, T) | Assigns a value to the specified InArgument<T>. |
![]() | SetValue<T>(InOutArgument<T>^, T) | Assigns a value to the specified InOutArgument<T>. |
![]() | SetValue<T>(LocationReference^, T) | Assigns a value to the specified LocationReference. |
![]() | SetValue<T>(OutArgument<T>^, T) | Assigns a value to the specified OutArgument<T>. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
This class provides limited access to the WF runtime and is the base class for all execution contexts that are provided by Windows Workflow Foundation (WF).
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


