This topic has not yet been rated - Rate this topic

YieldAwaitable.YieldAwaiter Structure

April 12, 2014

Provides an awaiter for switching into a target environment.

Namespace:  System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)
'Declaration
Public Structure YieldAwaiter _
	Implements ICriticalNotifyCompletion, INotifyCompletion

The YieldAwaitable.YieldAwaiter type exposes the following members.

  NameDescription
Public propertyIsCompletedGets a value that indicates whether a yield is not required.
Top
  NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetResultEnds the await operation.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnCompletedSets the continuation to invoke.
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Public methodUnsafeOnCompletedSecurity Critical. Posts the continuation back to the current context.
Top

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

Windows Phone OS

Supported in: 8.1, 8.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.