TplExtensions.WaitWithoutInlining Method

Wait on a task without possibly inlining it to the current thread.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub WaitWithoutInlining ( _
    task As Task _
)
public static void WaitWithoutInlining(
    this Task task
)
[ExtensionAttribute]
public:
static void WaitWithoutInlining(
    Task^ task
)
static member WaitWithoutInlining : 
        task:Task -> unit
public static function WaitWithoutInlining(
    task : Task
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Task. 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).

.NET Framework Security

See Also

Reference

TplExtensions Class

Microsoft.VisualStudio.Threading Namespace