ReadResult.IsCanceled Propriété

Définition

Récupère une valeur indiquant si l’opération ReadAsync(CancellationToken) actuelle 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) qui a produit cette ReadResult opération a été annulée par CancelPendingRead(); sinon, false.

S’applique à