FlushResult.IsCanceled 属性

定义

获取一个值,该值指示当前 FlushAsync(CancellationToken) 操作是否已被 CancelPendingFlush() 取消。

public:
 property bool IsCanceled { bool get(); };
public bool IsCanceled { get; }
member this.IsCanceled : bool
Public ReadOnly Property IsCanceled As Boolean

属性值

true 如果当前 FlushAsync(CancellationToken) 操作已由 取消,则为 CancelPendingFlush();否则为 false

适用于