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 2026.8.0
Syntax
C#
public static Task<bool> TimeoutWithSuccessAfter(
	this Task<bool> task,
	int millisecondsTimeout
)

Parameters

task  TaskBoolean
 
millisecondsTimeout  Int32
 

Return Value

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