ReadResult.IsCanceled Propriété

Définition

Obtient une valeur qui indique si l’opération actuelle ReadAsync(CancellationToken) a été annulée par CancelPendingRead().

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

Valeur de propriété

true si l’opération ReadAsync(CancellationToken) produite ReadResult a été annulée par CancelPendingRead(); sinon, false.

S’applique à