編輯

共用方式為


ReadResult.IsCanceled Property

Definition

Gets a value that indicates whether the current ReadAsync(CancellationToken) operation was canceled by CancelPendingRead().

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

Property Value

true if the ReadAsync(CancellationToken) operation that produced this ReadResult was canceled by CancelPendingRead(); otherwise, false.

Applies to