ActivityExecutionContext クラス

定義

注意事項

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

Activity の実行環境を表します。 このクラスは継承できません。

public ref class ActivityExecutionContext sealed : IDisposable, IServiceProvider
public sealed class ActivityExecutionContext : IDisposable, IServiceProvider
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityExecutionContext : IDisposable, IServiceProvider
type ActivityExecutionContext = class
    interface IServiceProvider
    interface IDisposable
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityExecutionContext = class
    interface IServiceProvider
    interface IDisposable
Public NotInheritable Class ActivityExecutionContext
Implements IDisposable, IServiceProvider
継承
ActivityExecutionContext
属性
実装

注釈

注意

ここでは、廃止された型と名前空間について説明します。 詳細については、「.NET 4.5 での Windows Workflow Foundation の新機能」を参照してください。

Activity の実行環境を表します。 このクラスは、ワークフロー ランタイム機能と個々のアクティビティに対するサービスを選択的に公開します。 このクラスは継承できません。

詳細については、「 アクティビティ実行コンテキストについて」を参照してください。

フィールド

CurrentExceptionProperty
古い.

ワークフロー インスタンスの実行中に発生する例外を表します。 このプロパティが値を持つのは、アクティビティがフォールト状態の場合のみです。

プロパティ

Activity
古い.

実行コンテキスト内で現在実行中の Activity を取得します。

ContextGuid
古い.

関連付けられた ContextIDActivity を取得します。

ExecutionContextManager
古い.

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

メソッド

CancelActivity(Activity)
古い.

複合アクティビティが、子アクティビティの取り消し処理をスケジュールするために呼び出します。 Executing 状態の子アクティビティを取り消すことはできません。

CloseActivity()
古い.

ワークフロー ランタイムに対し、現在実行中のアクティビティを Closed 状態に遷移させなければならない旨を通知します。

Equals(Object)
古い.

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

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

複合アクティビティが、子アクティビティの実行をスケジュールするために呼び出します。 初期化済み状態でない子アクティビティを実行することはできません。

GetHashCode()
古い.

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

(継承元 Object)
GetService(Type)
古い.

指定した型のサービスを返します。

GetService<T>()
古い.

指定された Type のサービス プロバイダーを返します。

GetType()
古い.

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

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

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

(継承元 Object)
ToString()
古い.

現在のオブジェクトを表す文字列を返します。

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

関連付けられた Activity の追跡メソッドを呼び出します。

TrackData(String, Object)
古い.

関連付けられた Activity の追跡メソッドを呼び出します。

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

IDisposable.Dispose()
古い.

ActivityExecutionContext によって使用されているすべてのリソースを解放します。

適用対象