Udostępnij za pośrednictwem


DurableOrchestrationContextBase.CreateTimer Method

Definition

Overloads

CreateTimer(DateTime, CancellationToken)
CreateTimer<T>(DateTime, T, CancellationToken)

CreateTimer(DateTime, CancellationToken)

Source:
DurableOrchestrationContextBase.cs
public virtual System.Threading.Tasks.Task CreateTimer (DateTime fireAt, System.Threading.CancellationToken cancelToken);
abstract member CreateTimer : DateTime * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateTimer : DateTime * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateTimer (fireAt As DateTime, cancelToken As CancellationToken) As Task

Parameters

fireAt
DateTime
cancelToken
CancellationToken

Returns

Applies to

CreateTimer<T>(DateTime, T, CancellationToken)

Source:
DurableOrchestrationContextBase.cs
public abstract System.Threading.Tasks.Task<T> CreateTimer<T> (DateTime fireAt, T state, System.Threading.CancellationToken cancelToken);
abstract member CreateTimer : DateTime * 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
Public MustOverride Function CreateTimer(Of T) (fireAt As DateTime, state As T, cancelToken As CancellationToken) As Task(Of T)

Type Parameters

T

Parameters

fireAt
DateTime
state
T
cancelToken
CancellationToken

Returns

Task<T>

Applies to