ExecutionType Sabit listesi

Tanım

Dikkat

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Etkinlikler için yürütme modunu belirtir.

public enum class ExecutionType
public enum ExecutionType
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum ExecutionType
type ExecutionType = 
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ExecutionType = 
Public Enum ExecutionType
Devralma
ExecutionType
Öznitelikler

Alanlar

Parallel 1

Etkinlikleri paralel olarak yürütür.

Sequence 0

Etkinlikleri sıralı olarak yürütür. Önceki etkinliğin çalışması tamamlandıktan sonra her etkinlik sırayla yürütülür.

Örnekler

Aşağıdaki kod örneği, numaralandırmayı kullanarak etkinlikler için yürütme modunun ExecutionType nasıl ayarlandığını gösterir. Bu kod örneği, Simplereplicatorworkflow.cs dosyasındaki Çoğaltıcı SDK Örneği'nin bir parçasıdır. Daha fazla bilgi için bkz . Çoğaltmayı Kullanma.

this.CanModifyActivities = true;
System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
this.throwActivity1 = new System.Workflow.ComponentModel.ThrowActivity();
activitybind1.Name = "ThrowWorkflow";
activitybind1.Path = "ThrownException";
//
// throwActivity1
//
this.throwActivity1.Name = "throwActivity1";
this.throwActivity1.SetBinding(System.Workflow.ComponentModel.ThrowActivity.FaultProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
//
// ThrowWorkflow
//
this.Activities.Add(this.throwActivity1);
this.Name = "ThrowWorkflow";
this.CanModifyActivities = false;
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

Açıklamalar

Not

Bu malzeme artık kullanılmayan türleri ve ad alanlarını açıklamaktadır. Daha fazla bilgi için Windows Workflow Foundation 4,5 ' deki kullanım dışı türlerbölümüne bakın.

Şunlara uygulanır