共用方式為


TplExtensions.NoThrowTaskAwaitable.GetAwaiter Method

Gets the awaiter.

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

Syntax

'Declaration
Public Function GetAwaiter As TplExtensions.NoThrowTaskAwaiter
public TplExtensions.NoThrowTaskAwaiter GetAwaiter()
public:
TplExtensions::NoThrowTaskAwaiter GetAwaiter()
member GetAwaiter : unit -> TplExtensions.NoThrowTaskAwaiter
public function GetAwaiter() : TplExtensions.NoThrowTaskAwaiter

Return Value

Type: Microsoft.VisualStudio.Threading.TplExtensions.NoThrowTaskAwaiter
Returns TplExtensions.NoThrowTaskAwaiter.

.NET Framework Security

See Also

Reference

TplExtensions.NoThrowTaskAwaitable Structure

Microsoft.VisualStudio.Threading Namespace