メインコンテンツまでスキップ

Struct STaskAwaiter

Assembly: WaaS.Core.dll​
View Source​
Declaration
public readonly struct STaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion

Implements:
System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion

Properties​

IsCompleted​

View Source​
Declaration
public bool IsCompleted { get; }

Methods​

GetResult()​

View Source​
Declaration
public void GetResult()

OnCompleted(Action)​

Schedules the continuation action that's invoked when the instance completes.

View Source​
Declaration
public void OnCompleted(Action continuation)
Parameters​
TypeNameDescription
System.ActioncontinuationThe action to invoke when the operation completes.
Exceptions​

System.ArgumentNullException
The <code class="paramref">continuation</code> argument is null (Nothing in Visual Basic).

UnsafeOnCompleted(Action)​

Schedules the continuation action that's invoked when the instance completes.

View Source​
Declaration
public void UnsafeOnCompleted(Action continuation)
Parameters​
TypeNameDescription
System.ActioncontinuationThe action to invoke when the operation completes.
Exceptions​

System.ArgumentNullException
The <code class="paramref">continuation</code> argument is null (Nothing in Visual Basic).

Implements​

  • System.Runtime.CompilerServices.ICriticalNotifyCompletion
  • System.Runtime.CompilerServices.INotifyCompletion