IAsyncFlushable.FlushAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flushes the in-memory buffer asynchronously.
public System.Threading.Tasks.Task<bool> FlushAsync (System.Threading.CancellationToken cancellationToken);
abstract member FlushAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function FlushAsync (cancellationToken As CancellationToken) As Task(Of Boolean)
Parameters
- cancellationToken
- CancellationToken
CancellationToken.
Returns
Returns true when telemetry data is transferred out of process (application insights server or local storage) and are emitted before the flush invocation. Returns false when transfer of telemetry data to server has failed with non-retriable http status code.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET