Compartir a través de


AwaitExtensions.TaskSchedulerAwaiter.IsCompleted Property

Determines whether or not a yield is necessary.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public ReadOnly Property IsCompleted As Boolean
public bool IsCompleted { get; }
public:
property bool IsCompleted {
    bool get ();
}
member IsCompleted : bool with get
function get IsCompleted () : boolean

Property Value

Type: System.Boolean
true if the caller is already running on that TaskScheduler.

.NET Framework Security

See Also

Reference

AwaitExtensions.TaskSchedulerAwaiter Structure

Microsoft.VisualStudio.Threading Namespace