ITraceHubClientCallback.FlushAsync(LogId, 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.
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.