System.Runtime.CompilerServices.YieldAwaitable.GetAwaiter Method

Retrieves a System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter object for this instance of the class.

Syntax

public YieldAwaitable.YieldAwaiter GetAwaiter ()

Returns

The object that is used to monitor the completion of an asynchronous operation.

Remarks

This type and its members are intended for use by the compiler.

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0