SequenceActivity Constructors
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 SequenceActivity class.
SequenceActivity() |
Initializes a new instance of the SequenceActivity class. |
SequenceActivity(String) |
Initializes a new instance of the SequenceActivity class using the name of the activity. |
Initializes a new instance of the SequenceActivity class.
public:
SequenceActivity();
public SequenceActivity ();
Public Sub New ()
Examples
The following code example demonstrates how to create a new instance of the SequenceActivity class and add the SequenceActivity classes to the ParallelActivity 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.
static void OnExceptionNotHandled(object sender, ServicesExceptionNotHandledEventArgs e)
{
Console.WriteLine("Unhandled Workflow Exception ");
Console.WriteLine(" Type: " + e.GetType().ToString());
Console.WriteLine(" Message: " + e.Exception.Message);
}
Shared Sub OnExceptionNotHandled(ByVal sender As Object, ByVal e As System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs)
Console.WriteLine("Unhandled Workflow Exception ")
Console.WriteLine(" Type: " + e.GetType().ToString())
Console.WriteLine(" Message: " + e.Exception.Message)
End Sub
See also
Applies to
.NET Framework 4.8.1 والإصدارات الأخرى
منتج | الإصدارات |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the SequenceActivity class using the name of the activity.
public:
SequenceActivity(System::String ^ name);
public SequenceActivity (string name);
new System.Workflow.Activities.SequenceActivity : string -> System.Workflow.Activities.SequenceActivity
Public Sub New (name As String)
Parameters
- name
- String
The user-defined name of the activity.
See also
Applies to
.NET Framework 4.8.1 والإصدارات الأخرى
منتج | الإصدارات |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
ملاحظات .NET
.NET هو مشروع مصدر مفتوح. حدد رابطًا لتقديم الملاحظات: