ConditionedActivityGroup クラス

定義

注意事項

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

一連の子アクティビティの制約ベースの実行コンテキストの定義を提供します。

public ref class ConditionedActivityGroup sealed : System::Workflow::ComponentModel::CompositeActivity, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^>
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.ConditionedActivityGroup), "Resources.cag.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.ConditionedActivityGroupValidator))]
[System.Workflow.Runtime.DebugEngine.WorkflowDebuggerStepping(System.Workflow.Runtime.DebugEngine.WorkflowDebuggerSteppingOption.Concurrent)]
public sealed class ConditionedActivityGroup : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.ConditionedActivityGroup), "Resources.cag.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.ConditionedActivityGroupValidator))]
[System.Workflow.Runtime.DebugEngine.WorkflowDebuggerStepping(System.Workflow.Runtime.DebugEngine.WorkflowDebuggerSteppingOption.Concurrent)]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ConditionedActivityGroup : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.ConditionedActivityGroup), "Resources.cag.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.ConditionedActivityGroupValidator))>]
[<System.Workflow.Runtime.DebugEngine.WorkflowDebuggerStepping(System.Workflow.Runtime.DebugEngine.WorkflowDebuggerSteppingOption.Concurrent)>]
type ConditionedActivityGroup = class
    inherit CompositeActivity
    interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.ConditionedActivityGroup), "Resources.cag.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.ConditionedActivityGroupValidator))>]
[<System.Workflow.Runtime.DebugEngine.WorkflowDebuggerStepping(System.Workflow.Runtime.DebugEngine.WorkflowDebuggerSteppingOption.Concurrent)>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ConditionedActivityGroup = class
    inherit CompositeActivity
    interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
Public NotInheritable Class ConditionedActivityGroup
Inherits CompositeActivity
Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
継承
属性
実装

注釈

この資料では、古い型と名前空間について説明します。 詳細については、「Windows Workflow Foundation 4.5 のDeprecated 型」を参照してください。

ConditionedActivityGroup アクティビティはCompositeActivityです。つまり、ConditionedActivityGroup アクティビティには他のアクティビティを含めることができます。

ConditionedActivityGroup アクティビティは、when条件の評価に基づいて子アクティビティを実行し、再実行します。 すべてのルールは、データと状態変更の依存関係に基づいて、必要に応じて常に評価されます。

ConditionedActivityGroupの完了ルールがtrueと評価されると、現在実行中の子アクティビティが直ちに取り消されて終了します。

コンストラクター

名前 説明
ConditionedActivityGroup()
古い.

ConditionedActivityGroup クラスの新しいインスタンスを初期化します。

ConditionedActivityGroup(String)
古い.

アクティビティの名前を使用して、ConditionedActivityGroup クラスの新しいインスタンスを初期化します。

フィールド

名前 説明
UntilConditionProperty
古い.

DependencyProperty プロパティを対象とする UntilCondition を表します。

WhenConditionProperty
古い.

DependencyProperty プロパティを対象とする WhenConditionProperty を表します。

プロパティ

名前 説明
Activities
古い.

すべての子アクティビティのコレクション (ActivityCollection) を表すオブジェクトを取得します。

(継承元 CompositeActivity)
CanModifyActivities
古い.

Activities 内の個々のアクティビティを変更できるかどうかを制御する値を取得または設定します。

(継承元 CompositeActivity)
Description
古い.

Activityのユーザー定義の説明を取得または設定します。

(継承元 Activity)
DesignMode
古い.

このインスタンスがデザイン モードかランタイム モードかを示す値を取得します。

(継承元 DependencyObject)
Enabled
古い.

このインスタンスの実行と検証が有効かどうかを示す値を取得または設定します。

(継承元 Activity)
EnabledActivities
古い.

有効になっている Activities のサブセットを表す読み取り専用コレクションを取得します。

(継承元 CompositeActivity)
ExecutionResult
古い.

このインスタンスを最後に実行しようとした ActivityExecutionResult を取得します。

(継承元 Activity)
ExecutionStatus
古い.

このインスタンスの現在の ActivityExecutionStatus を取得します。

(継承元 Activity)
IsDynamicActivity
古い.

アクティビティがワークフロー インスタンスの既定の ActivityExecutionContext 内で実行されているかどうかを示す情報を取得します。

(継承元 Activity)
Name
古い.

このインスタンスの名前を取得または設定します。 この名前は、ワークフロー プロジェクトで使用されているプログラミング言語の変数の名前付け規則に準拠している必要があります。

(継承元 Activity)
Parent
古い.

この CompositeActivityを含む Activity を取得します。

(継承元 Activity)
ParentDependencyObject
古い.

DependencyObject グラフ内の親 DependencyObject を取得します。

(継承元 DependencyObject)
QualifiedName
古い.

アクティビティの修飾名を取得します。 修飾されたアクティビティ名は、ワークフロー インスタンス内で常に一意です。

(継承元 Activity)
Site
古い.

SiteDependencyObject コンポーネントへの参照を取得または設定します。

(継承元 DependencyObject)
UntilCondition
古い.

ConditionedActivityGroupがいつ完了するかを示す値を取得または設定します。

UserData
古い.

カスタム データをこのクラス インスタンスに関連付ける IDictionary を取得します。

(継承元 DependencyObject)
WorkflowInstanceId
古い.

インスタンスに関連付けられている Guid を取得します。

(継承元 Activity)

メソッド

名前 説明
AddHandler(DependencyProperty, Object)
古い.

DependencyObjectのイベントのハンドラーを追加します。

(継承元 DependencyObject)
ApplyWorkflowChanges(WorkflowChanges)
古い.

パラメーターの WorkflowChanges マニフェストをこのインスタンスに適用します。

(継承元 CompositeActivity)
Cancel(ActivityExecutionContext)
古い.

現在実行中のアクティビティの実行を取り消すためにワークフロー ランタイムによって呼び出されます。

(継承元 Activity)
Clone()
古い.

Activityのディープ コピーを作成します。

(継承元 Activity)
Dispose()
古い.

DependencyObjectで使用されているすべてのリソースを解放します。

(継承元 DependencyObject)
Dispose(Boolean)
古い.

このインスタンスで Dispose(Boolean) を呼び出し、必要に応じて、このインスタンスのすべての子アクティビティに対して Dispose() を呼び出します。

(継承元 CompositeActivity)
Equals(Object)
古い.

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
Execute(ActivityExecutionContext)
古い.

アクティビティを実行するためにワークフロー ランタイムによって呼び出されます。

(継承元 Activity)
GetActivityByName(String, Boolean)
古い.

2 番目のパラメーターが Activity されている場合は、ルートのすべてのアクティビティのセットからこのインスタンスの Activity を要求し、2 番目のパラメーターが false場合は現在の Activity の下にある true のインスタンスを返します。

(継承元 Activity)
GetActivityByName(String)
古い.

ワークフロー内のこのインスタンスのルート アクティビティで実行されているすべてのアクティビティのセットから名前が要求された Activity のインスタンスを返します。

(継承元 Activity)
GetBinding(DependencyProperty)
古い.

特定の ActivityBindに関連付けられている DependencyProperty へのアクセスを提供します。

(継承元 DependencyObject)
GetBoundValue(ActivityBind, Type)
古い.

Objectの件名である ActivityBind を取得します。

(継承元 DependencyObject)
GetChildActivityExecutedCount(Activity)
古い.

指定した子アクティビティが実行された回数を取得します。

GetDynamicActivities(Activity)
古い.

指定したアクティビティの現在実行中のすべてのインスタンスを含む配列を返します。

(継承元 CompositeActivity)
GetDynamicActivity(String)
古い.

現在実行中の子アクティビティのインスタンスを取得します。

GetHashCode()
古い.

既定のハッシュ関数として機能します。

(継承元 Object)
GetInvocationList<T>(DependencyProperty)
古い.

指定した DependencyPropertyのデリゲートを含む配列を取得します。

(継承元 DependencyObject)
GetType()
古い.

現在のインスタンスの Type を取得します。

(継承元 Object)
GetValue(DependencyProperty)
古い.

指定された DependencyPropertyの値へのアクセスを提供します。

(継承元 DependencyObject)
GetValueBase(DependencyProperty)
古い.

DependencyProperty のバインドされたオブジェクトへのアクセスを提供し、GetValue(DependencyProperty) オーバーライドをバイパスします。

(継承元 DependencyObject)
GetWhenCondition(Object)
古い.

指定した依存関係オブジェクトの WhenConditionProperty に関連付けられている条件を取得します。

HandleFault(ActivityExecutionContext, Exception)
古い.

このインスタンスの実行コンテキスト内で例外が発生したときに呼び出されます。

(継承元 CompositeActivity)
Initialize(IServiceProvider)
古い.

このインスタンスと指定した IServiceProviderのすべての適切な子アクティビティを初期化します。

(継承元 CompositeActivity)
InitializeProperties()
古い.

派生クラスでオーバーライドされると、依存関係プロパティの初期化を実行します。

(継承元 DependencyObject)
Invoke<T>(EventHandler<T>, T)
古い.

EventHandler をサブスクライブし、そのデリゲートを呼び出します。

(継承元 Activity)
Invoke<T>(IActivityEventListener<T>, T)
古い.

IActivityEventListener<T> をサブスクライブし、そのデリゲートを呼び出します。

(継承元 Activity)
IsBindingSet(DependencyProperty)
古い.

DependencyProperty の値がバインディングとして設定されているかどうかを示します。 「SetBinding(DependencyProperty, ActivityBind)」を参照してください。

(継承元 DependencyObject)
MemberwiseClone()
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
MetaEquals(DependencyObject)
古い.

この metapropertiesDependencyObject が、パラメーター化された metapropertiesDependencyObject と等しいかどうかを判断します。

(継承元 DependencyObject)
OnActivityChangeAdd(ActivityExecutionContext, Activity)
古い.

アクティビティが追加されたときに呼び出します。

(継承元 CompositeActivity)
OnActivityChangeRemove(ActivityExecutionContext, Activity)
古い.

アクティビティが削除されたときに呼び出されます。

(継承元 CompositeActivity)
OnActivityExecutionContextLoad(IServiceProvider)
古い.

このアクティビティの ActivityExecutionContext が読み込まれるたびに、ワークフロー ランタイム エンジンによって呼び出されます。

(継承元 CompositeActivity)
OnActivityExecutionContextUnload(IServiceProvider)
古い.

このアクティビティの ActivityExecutionContext がアンロードされるたびに、ワークフロー ランタイム エンジンによって呼び出されます。

(継承元 CompositeActivity)
OnClosed(IServiceProvider)
古い.

アクティビティの閉じた状態への遷移の一環としてワークフロー ランタイムによって呼び出されます。

(継承元 Activity)
OnListChanged(ActivityCollectionChangeEventArgs)
古い.

Activities プロパティが変更されたときに、追加の処理を実行します。

(継承元 CompositeActivity)
OnListChanging(ActivityCollectionChangeEventArgs)
古い.

基になる Activitiesに対して変更が行われる前に発生するイベント。

(継承元 CompositeActivity)
OnWorkflowChangesCompleted(ActivityExecutionContext)
古い.

このインスタンスのコレクション Activities に変更が加えられた後に呼び出されます。

(継承元 CompositeActivity)
RaiseEvent(DependencyProperty, Object, EventArgs)
古い.

指定した依存関係プロパティに関連付けられている Event を発生させます。

(継承元 Activity)
RaiseGenericEvent<T>(DependencyProperty, Object, T)
古い.

参照先の DependencyPropertyに関連付けられたイベントを発生させます。

(継承元 Activity)
RegisterForStatusChange(DependencyProperty, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)
古い.

状態変更イベントの指定した DependencyProperty を登録します。

(継承元 Activity)
RemoveHandler(DependencyProperty, Object)
古い.

関連付けられている EventHandlerから DependencyProperty を削除します。

(継承元 DependencyObject)
RemoveProperty(DependencyProperty)
古い.

DependencyPropertyから DependencyObject を削除します。

(継承元 DependencyObject)
Save(Stream, IFormatter)
古い.

シリアル化に指定されたカスタム Activity を使用して、永続化のために StreamIFormatter に書き込みます。

(継承元 Activity)
Save(Stream)
古い.

永続化のために ActivityStream に書き込みます。

(継承元 Activity)
SetBinding(DependencyProperty, ActivityBind)
古い.

指定した ActivityBindDependencyProperty を設定します。

(継承元 DependencyObject)
SetBoundValue(ActivityBind, Object)
古い.

ターゲット ActivityBindの値を設定します。

(継承元 DependencyObject)
SetReadOnlyPropertyValue(DependencyProperty, Object)
古い.

読み取り専用の DependencyPropertyの値を設定します。

(継承元 DependencyObject)
SetValue(DependencyProperty, Object)
古い.

DependencyProperty の値をオブジェクトに設定します。

(継承元 DependencyObject)
SetValueBase(DependencyProperty, Object)
古い.

DependencyPropertyをバイパスして、指定した ObjectSetValue(DependencyProperty, Object) の値を設定します。

(継承元 DependencyObject)
SetWhenCondition(Object, Object)
古い.

指定した依存関係オブジェクトの WhenConditionProperty に関連付けられている条件を設定します。

ToString()
古い.

このインスタンスを表す文字列を提供します。

(継承元 Activity)
TrackData(Object)
古い.

保留中の追跡情報をランタイム追跡インフラストラクチャに通知します。

(継承元 Activity)
TrackData(String, Object)
古い.

保留中の追跡情報をランタイム追跡インフラストラクチャに通知します。

(継承元 Activity)
Uninitialize(IServiceProvider)
古い.

アクティビティが Closed 状態から Initialized 状態に遷移すると、ワークフロー ランタイム エンジンによって呼び出されます。

(継承元 CompositeActivity)
UnregisterForStatusChange(DependencyProperty, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)
古い.

状態変更イベントの指定した DependencyProperty の登録を解除します。

(継承元 Activity)

イベント

名前 説明
Canceling
古い.

アクティビティの実行が取り消されたときに発生します。

(継承元 Activity)
Closed
古い.

Activity の実行が完了したときに発生します。

(継承元 Activity)
Compensating
古い.

Activityで補正メソッドを実行するときに発生します。

(継承元 Activity)
Executing
古い.

Activity の実行時に発生します。

(継承元 Activity)
Faulting
古い.

インスタンスの実行中に例外が発生したときに発生します。

(継承元 Activity)
StatusChanged
古い.

実行中の ActivityExecutionStatusActivity が変更されたときに発生します。

(継承元 Activity)

明示的なインターフェイスの実装

名前 説明
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent(Object, ActivityExecutionStatusChangedEventArgs)
古い.

サブスクライブ対象イベントが発生した場合の処理プロシージャを定義します。

IComponent.Disposed
古い.

コンポーネントの Disposed イベントを処理するメソッドを表します。

(継承元 DependencyObject)

適用対象