다음을 통해 공유


ITraceHubClientCallback.FlushAsync(LogId, CancellationToken) Method

Definition

Requests that the client perform a flush to disk.

public:
 System::Threading::Tasks::Task ^ FlushAsync(Microsoft::VisualStudio::RpcContracts::Logging::LogId logId, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task FlushAsync (Microsoft.VisualStudio.RpcContracts.Logging.LogId logId, System.Threading.CancellationToken cancellationToken);
abstract member FlushAsync : Microsoft.VisualStudio.RpcContracts.Logging.LogId * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function FlushAsync (logId As LogId, cancellationToken As CancellationToken) As Task

Parameters

logId
LogId

Fully-qualified id of the log stream.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task that completes when the flush is finished.

Applies to