Cocktail Help Reference
WhenAny Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > TaskFns Class : WhenAny Method



Glossary Item Box

Creates a task that will complete when any of the supplied tasks have completed.

Overload List

OverloadDescription
WhenAny(Task[])Creates a task that will complete when any of the supplied tasks have completed.  
WhenAny(IEnumerable<Task>)Creates a task that will complete when any of the supplied tasks have completed.  
WhenAny<T>(Task<T>[])Creates a task that will complete when any of the supplied tasks have completed.  
WhenAny<T>(IEnumerable<Task<T>>)Creates a task that will complete when any of the supplied tasks have completed.  

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.