This documentation is archived and is not being maintained.
ExecutionType Enumeration
Visual Studio 2008
Specifies the execution mode for activities.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
The following code example shows how to set the execution mode for activities using the ExecutionType enumeration. This code example is part of the Replicator SDK Sample from the Simplereplicatorworkflow.cs file. For more information, see Using Replicator.
Me.CanModifyActivities = True Dim activitybind1 As New System.Workflow.ComponentModel.ActivityBind() Me.throwActivity1 = New System.Workflow.ComponentModel.ThrowActivity() activitybind1.Name = "ThrowWorkflow" activitybind1.Path = "ThrownException" ' ' throwActivity1 ' Me.throwActivity1.Name = "throwActivity1" Me.throwActivity1.SetBinding(System.Workflow.ComponentModel.ThrowActivity.FaultProperty, activitybind1) ' ' ThrowWorkflow ' Me.Activities.Add(Me.throwActivity1) Me.Name = "ThrowWorkflow" Me.CanModifyActivities = False
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: