TimerEventSubscription クラス

定義

注意事項

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

タイマー イベントのサブスクリプションを表します。

public ref class TimerEventSubscription
[System.Serializable]
public class TimerEventSubscription
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class TimerEventSubscription
[<System.Serializable>]
type TimerEventSubscription = class
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type TimerEventSubscription = class
Public Class TimerEventSubscription
継承
TimerEventSubscription
属性

注釈

Note

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

TimerEventSubscription オブジェクトは、指定された時刻に特定の WorkflowQueue にメッセージを送信するために、ワークフロー インスタンスに関連付けられているタイマー キューに追加されます。 ExpiresAtで指定された時刻に達すると、ワークフロー ランタイム エンジンは、SubscriptionIdで指定されたWorkflowQueueQueueNameを含むメッセージを送信します。 ワークフロー インスタンスに関連付けられているタイマー キューは、 TimerCollectionPropertyに含まれています。 TimerCollectionPropertyと、WorkflowQueueInfoによって返されるWorkflowInstance.GetWorkflowQueueData オブジェクトを調べて、特定のTimerEventSubscriptionで待機しているアクティビティを特定できます。 DelayActivitySqlWorkflowPersistenceServiceはどちらもタイマー イベント サブスクリプションを使用して機能の一部を提供します。

コンストラクター

名前 説明
TimerEventSubscription()
古い.

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

TimerEventSubscription(Guid, DateTime)
古い.

ワークフロー インスタンスの指定したTimerEventSubscriptionと指定した有効期限Guidを使用して、DateTime クラスの新しいインスタンスを初期化します。

TimerEventSubscription(Guid, Guid, DateTime)
古い.

指定したサブスクリプション ID、ワークフロー インスタンスの指定したTimerEventSubscription、および指定した有効期限Guidを使用して、DateTime クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
ExpiresAt
古い.

このサブスクリプションに関連付けられているタイマーの予想される有効期限を取得します。

QueueName
古い.

タイマー サブスクリプションの有効期限が切れたときにWorkflowQueueがメッセージを送信するWorkflowRuntimeの名前を表します。

SubscriptionId
古い.

タイマー イベントを表す一意識別子。

WorkflowInstanceId
古い.

タイマー サブスクリプションに関連付けられているワークフローの識別子。

メソッド

名前 説明
Equals(Object)
古い.

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

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

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

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

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

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

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

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

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

(継承元 Object)

適用対象