WhileActivity Constructors
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.
Initializes a new instance of the WhileActivity class.
Overloads
WhileActivity() |
Initializes a new instance of the WhileActivity class. |
WhileActivity(String) |
Initializes a new instance of the WhileActivity class using the name of the activity. |
WhileActivity()
Initializes a new instance of the WhileActivity class.
public:
WhileActivity();
public WhileActivity ();
Public Sub New ()
Examples
The following code example demonstrates how to create a new instance of the WhileActivity class and add the ParallelActivity class to the WhileActivity class. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see Using While and Parallel.
workflowRuntime.WorkflowUnloaded += OnWorkflowUnload;
AddHandler currentWorkflowRuntime.WorkflowUnloaded, AddressOf OnWorkflowUnloaded
See also
Applies to
WhileActivity(String)
Initializes a new instance of the WhileActivity class using the name of the activity.
public:
WhileActivity(System::String ^ name);
public WhileActivity (string name);
new System.Workflow.Activities.WhileActivity : string -> System.Workflow.Activities.WhileActivity
Public Sub New (name As String)
Parameters
- name
- String
The user-defined name of the activity.
See also
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om