Skip to main content

AsyncCommand<T>.CancelAfter(TimeSpan) Method

Creates a request to cancel the command execution after the specified time span.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.WinUI.Mvvm.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public void CancelAfter(
    TimeSpan delay
)

Parameters

Name Type Description
delay TimeSpan

The time span to wait before canceling this CancellationTokenSource.

See Also