Runs the code-beside method associated with an activity. This class cannot be inherited.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
Gets the value that indicates whether this instance is in design or run-time mode.(Inherited from DependencyObject.)
Gets or sets a value that indicates whether this instance is enabled for execution and validation.(Inherited from Activity.)
Gets or sets the name of this instance. This name must conform to the variable naming convention of the programming language that is being used in the Workflow project.(Inherited from Activity.)
Gets the qualified name of the activity. Qualified activity names are always unique in a workflow instance.(Inherited from Activity.)
Occurs when the activity execution is canceled. (Inherited from Activity.)
Occurs when thestarts.
Occurs when an exception is raised during the running of the instance.(Inherited from Activity.)
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
Code-beside methods invoked byare executed in a synchronous manner; does not yield its thread until the thread is finished. Therefore, the execution of the code-beside method is expected to be performed and should not block with a dependency on some external resource. For example, the code-beside method should typically not invoke a Web service.
The typical use of theis to examine workflow instance state, and change local variables and messages.
Available since 3.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.