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,则它们永远不会同步运行。

适用于