Click or drag to resize

TaskExtensionsTimeoutWithSuccessAfter Method

Namespace:  LSRetail.Omni.Domain.DataModel.Base
Assembly:  LSRetail.Omni.Domain.DataModel.Base (in LSRetail.Omni.Domain.DataModel.Base.dll) Version: Commerce Service for LS Central 2024.6
Syntax
C#
public static Task<bool> TimeoutWithSuccessAfter(
	this Task<bool> task,
	int millisecondsTimeout
)

Parameters

task
Type: System.Threading.TasksTaskBoolean
millisecondsTimeout
Type: SystemInt32

Return Value

Type: TaskBoolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TaskBoolean. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also