Lingua

BufferedReadStream.EnsureBufferedAsync Metodo

Definizione

Overload

Nome Descrizione
EnsureBufferedAsync(CancellationToken)

Assicura che il buffer non sia vuoto.

EnsureBufferedAsync(Int32, CancellationToken)

Assicura che sia disponibile una quantità minima di dati memorizzati nel buffer.

EnsureBufferedAsync(CancellationToken)

Origine:
BufferedReadStream.cs
Origine:
BufferedReadStream.cs
Origine:
BufferedReadStream.cs
Origine:
BufferedReadStream.cs

Assicura che il buffer non sia vuoto.

public:
 System::Threading::Tasks::Task<bool> ^ EnsureBufferedAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> EnsureBufferedAsync(System.Threading.CancellationToken cancellationToken);
member this.EnsureBufferedAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function EnsureBufferedAsync (cancellationToken As CancellationToken) As Task(Of Boolean)

Parametri

cancellationToken
CancellationToken

Token di annullamento.

Valori restituiti

Restituisce true se il buffer non è vuoto; false in caso contrario, .

Si applica a

EnsureBufferedAsync(Int32, CancellationToken)

Origine:
BufferedReadStream.cs
Origine:
BufferedReadStream.cs
Origine:
BufferedReadStream.cs
Origine:
BufferedReadStream.cs

Assicura che sia disponibile una quantità minima di dati memorizzati nel buffer.

public:
 System::Threading::Tasks::Task<bool> ^ EnsureBufferedAsync(int minCount, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> EnsureBufferedAsync(int minCount, System.Threading.CancellationToken cancellationToken);
member this.EnsureBufferedAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function EnsureBufferedAsync (minCount As Integer, cancellationToken As CancellationToken) As Task(Of Boolean)

Parametri

minCount
Int32

Quantità minima di dati memorizzati nel buffer.

cancellationToken
CancellationToken

Token di annullamento.

Valori restituiti

Restituisce true se la quantità minima di dati memorizzati nel buffer è disponibile; false in caso contrario, .

Si applica a