Share via


YieldAwaiter Structure

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.Internal.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Structure YieldAwaiter _
    Implements INotifyCompletion
public struct YieldAwaiter : INotifyCompletion
public value class YieldAwaiter : INotifyCompletion
[<Sealed>]
type YieldAwaiter =  
    struct 
        interface INotifyCompletion 
    end
JScript supports the use of structures, but not the declaration of new ones.

The YieldAwaiter type exposes the following members.

Properties

  Name Description
Public property IsCompleted

Top

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetAwaiter
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetResult
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method OnCompleted
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Thread Safety

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

See Also

Reference

Microsoft.Internal.VisualStudio.Shell Namespace