TimerEventSubscription Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TimerEventSubscription class.
Overloads
TimerEventSubscription() |
Initializes a new instance of the TimerEventSubscription class. |
TimerEventSubscription(Guid, DateTime) |
Initializes a new instance of the TimerEventSubscription class by using the specified Guid of a workflow instance and the specified expiration DateTime. |
TimerEventSubscription(Guid, Guid, DateTime) |
Initializes a new instance of the TimerEventSubscription class by using the specified subscription Id, the specified Guid of a workflow instance, and the specified expiration DateTime. |
TimerEventSubscription()
Initializes a new instance of the TimerEventSubscription class.
protected:
TimerEventSubscription();
protected TimerEventSubscription ();
Protected Sub New ()
Applies to
TimerEventSubscription(Guid, DateTime)
Initializes a new instance of the TimerEventSubscription class by using the specified Guid of a workflow instance and the specified expiration 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)
Parameters
- expiresAt
- DateTime
A DateTime that represents the time in Universal Coordinated Time (UTC) at which the timer associated with this subscription is expected to expire.
Remarks
The following table shows the initial property values for an instance of TimerEventSubscription.
Property | Value |
---|---|
QueueName | A string representation of the system-supplied Guid for SubscriptionId. |
SubscriptionId | A system-supplied Guid. |
WorkflowInstanceId | The Guid of the workflow instance, specified by workflowInstanceId . |
ExpiresAt | The DateTime specified by expiresAt . |
QueueName is initialized to a string representation of SubscriptionId by this constructor.
Applies to
TimerEventSubscription(Guid, Guid, DateTime)
Initializes a new instance of the TimerEventSubscription class by using the specified subscription Id, the specified Guid of a workflow instance, and the specified expiration 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)
Parameters
- expiresAt
- DateTime
A DateTime that represents the time in Universal Coordinated Time (UTC) at which the timer for this subscription is expected to expire.
Remarks
The following table shows the initial property values for an instance of TimerEventSubscription.
Property | Value |
---|---|
QueueName | A string representation of the Guid specified by timerId . |
SubscriptionId | The Guid specified by timerId . |
WorkflowInstanceId | The Guid of the workflow instance, specified by workflowInstanceId . |
ExpiresAt | The DateTime specified by expiresAt . |
QueueName is initialized to a string representation of timerId
by this constructor.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기