Click or drag to resize
YieldAwaitable Structure
This API is preliminary and subject to change.
Provides an awaitable context for switching into a target environment.

Namespace: Microsoft.Runtime.CompilerServices
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public struct YieldAwaitable

The YieldAwaitable type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAwaiter
Gets an awaiter for this YieldAwaitable.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Remarks
This type is intended for compiler use only.
Version Information

.NET for Windows Store apps

Supported in: Windows 8

.NET Framework

Supported in: 4.5, 3.5

Portable Class Library

Supported in: Portable Class Library

Threading Library

Supported in: 2.1
See Also