Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
An awaiter returned from GetAwaiter.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Structure TaskSchedulerAwaiter _
Implements INotifyCompletion
public struct TaskSchedulerAwaiter : INotifyCompletion
public value class TaskSchedulerAwaiter : INotifyCompletion
[<Sealed>]
type TaskSchedulerAwaiter =
struct
interface INotifyCompletion
end
JScript supports the use of structures, but not the declaration of new ones.
The AwaitExtensions.TaskSchedulerAwaiter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
AwaitExtensions.TaskSchedulerAwaiter | Initializes a new instance of the TaskSchedulerAwaiter. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
IsCompleted | Determines whether or not a yield is necessary. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() |
GetResult | Does nothing. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
OnCompleted | Schedules a continuation to execute using the specified task scheduler. |
![]() |
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.
.gif)
.gif)