TaskExtensionsTimeoutAfter 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.4
Syntaxpublic static Task<bool> TimeoutAfter(
this Task<bool> task,
int millisecondsTimeout
)
Parameters
- task
- Type: System.Threading.TasksTaskBoolean
- millisecondsTimeout
- Type: SystemInt32
Return Value
Type:
TaskBooleanUsage 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