次の方法で共有


TimerEventSubscription コンストラクター

定義

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

オーバーロード

TimerEventSubscription()

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

TimerEventSubscription(Guid, DateTime)

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

TimerEventSubscription(Guid, Guid, DateTime)

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

TimerEventSubscription()

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

protected:
 TimerEventSubscription();
protected TimerEventSubscription ();
Protected Sub New ()

適用対象

TimerEventSubscription(Guid, DateTime)

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

public:
 TimerEventSubscription(Guid workflowInstanceId, DateTime expiresAt);
public TimerEventSubscription (Guid workflowInstanceId, DateTime expiresAt);
new System.Workflow.Runtime.TimerEventSubscription : Guid * DateTime -> System.Workflow.Runtime.TimerEventSubscription
Public Sub New (workflowInstanceId As Guid, expiresAt As DateTime)

パラメーター

workflowInstanceId
Guid

このサブスクリプションに関連付けられたワークフロー インスタンスの Guid

expiresAt
DateTime

このサブスクリプションに関連付けられているタイマーが切れる世界協定時刻 (UTC) を表す DateTime

注釈

次の表に、TimerEventSubscription のインスタンスに対するプロパティの初期値を示します。

プロパティ
QueueName Guid を表すシステム提供の SubscriptionId の文字列表記。
SubscriptionId システム提供の Guid
WorkflowInstanceId Guid で指定されたワークフロー インスタンスの workflowInstanceId
ExpiresAt DateTime で指定された expiresAt

QueueName は、このコンストラクターによって SubscriptionId の文字列表記に初期化されます。

適用対象

TimerEventSubscription(Guid, Guid, DateTime)

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

public:
 TimerEventSubscription(Guid timerId, Guid workflowInstanceId, DateTime expiresAt);
public TimerEventSubscription (Guid timerId, Guid workflowInstanceId, DateTime expiresAt);
new System.Workflow.Runtime.TimerEventSubscription : Guid * Guid * DateTime -> System.Workflow.Runtime.TimerEventSubscription
Public Sub New (timerId As Guid, workflowInstanceId As Guid, expiresAt As DateTime)

パラメーター

timerId
Guid

このサブスクリプションの Guid

workflowInstanceId
Guid

このサブスクリプションが作成された対象のワークフロー インスタンスの Guid

expiresAt
DateTime

このサブスクリプションのタイマーが切れる世界協定時刻 (UTC) を表す DateTime

注釈

次の表に、TimerEventSubscription のインスタンスに対するプロパティの初期値を示します。

プロパティ
QueueName Guid で指定された timerId の文字列表記。
SubscriptionId Guid で指定された timerId
WorkflowInstanceId Guid で指定されたワークフロー インスタンスの workflowInstanceId
ExpiresAt DateTime で指定された expiresAt

QueueName は、このコンストラクターによって timerId の文字列表記に初期化されます。

適用対象