TimerEventSubscriptionCollection クラス

定義

注意事項

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

TimerEventSubscription オブジェクトの順序付きリストを表します。

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

注釈

Note

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

TimerEventSubscriptionCollectionは、ワークフロー インスタンスに関連付けられているTimerEventSubscription オブジェクトのキューを表し、このキューを管理するメソッドを提供します。 サブスクリプションは、 ExpiresAt 値に基づいてキュー内で並べ替えられます。 ExpiresAt 値が小さいサブスクリプションは、 ExpiresAt 値が大きいサブスクリプションの前に配置されます。 このクラスで提供されるメソッドを使用して、各ワークフロー インスタンスの TimerCollectionProperty によって公開されるアクティブなタイマー イベント サブスクリプションのコレクションを管理できます。 AddまたはRemoveを使用して、タイマー キューにサブスクリプションを追加または削除できます。 タイマー キューの最初の要素が変更されるたびに、 WorkflowSchedulerService が呼び出され、キューの先頭にあったタイマー イベントが取り消され、新しいタイマー イベントがスケジュールされます。

フィールド

名前 説明
TimerCollectionProperty
古い.

ワークフロー インスタンスに関連付けられているタイマー キュー。 このキューには、ワークフローの時間順 TimerEventSubscription オブジェクトが含まれます。

プロパティ

名前 説明
Count
古い.

タイマー キュー内の TimerEventSubscription オブジェクトの数を取得します。

IsSynchronized
古い.

TimerEventSubscriptionCollectionへのアクセスが同期される (スレッド セーフ) かどうかを示す値を取得します。

SyncRoot
古い.

TimerEventSubscriptionCollectionへのアクセスを同期するために使用できるオブジェクトを取得します。

メソッド

名前 説明
Add(TimerEventSubscription)
古い.

タイマー キューに TimerEventSubscription を追加します。

CopyTo(Array, Int32)
古い.

TimerEventSubscriptionCollection要素を、指定した配列インデックスから始まる既存の 1 次元Arrayにコピーします。

Equals(Object)
古い.

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

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

TimerEventSubscriptionCollectionを反復処理する列挙子を返します。

GetHashCode()
古い.

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

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

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

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

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

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

タイマー キューの先頭にある TimerEventSubscription を削除せずに返します。

Remove(Guid)
古い.

指定したサブスクリプション ID を持つ TimerEventSubscription をタイマー キューから削除します。

Remove(TimerEventSubscription)
古い.

タイマー キューから TimerEventSubscription を削除します。

ToString()
古い.

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

(継承元 Object)

拡張メソッド

名前 説明
AsParallel(IEnumerable)
古い.

クエリの並列化を有効にします。

AsQueryable(IEnumerable)
古い.

IEnumerableIQueryableに変換します。

Cast<TResult>(IEnumerable)
古い.

IEnumerable の要素を指定した型にキャストします。

OfType<TResult>(IEnumerable)
古い.

指定した型に基づいて、IEnumerable の要素をフィルター処理します。

適用対象