共用方式為


DelayProvider.DelayAsync(Int32, CancellationToken) Method

Definition

public virtual System.Threading.Tasks.Task DelayAsync (int milliseconds, System.Threading.CancellationToken cancellationToken);
abstract member DelayAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DelayAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DelayAsync (milliseconds As Integer, cancellationToken As CancellationToken) As Task

Parameters

milliseconds
Int32
cancellationToken
CancellationToken

Returns

Applies to