共用方式為


ManualResetValueTaskSourceCore<TResult>.RunContinuationsAsynchronously 屬性

定義

取得或設定是否強制接續以異步方式執行。

public:
 property bool RunContinuationsAsynchronously { bool get(); void set(bool value); };
public bool RunContinuationsAsynchronously { get; set; }
member this.RunContinuationsAsynchronously : bool with get, set
Public Property RunContinuationsAsynchronously As Boolean

屬性值

true 強制接續以異步方式執行;否則,false

備註

如果這是 false,則接續可能會以異步方式執行,但如果這是 true,則永遠不會同步執行。

適用於