IDiagnosticViewerService.RequestDiagnosticsAsync Method

Definition

Request all diagnostics known to the diagnostic service.

public:
 System::Threading::Tasks::Task ^ RequestDiagnosticsAsync(IProgress<Microsoft::VisualStudio::RpcContracts::DiagnosticManagement::DiagnosticReport ^> ^ report, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task RequestDiagnosticsAsync (IProgress<Microsoft.VisualStudio.RpcContracts.DiagnosticManagement.DiagnosticReport> report, System.Threading.CancellationToken cancellationToken);
abstract member RequestDiagnosticsAsync : IProgress<Microsoft.VisualStudio.RpcContracts.DiagnosticManagement.DiagnosticReport> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RequestDiagnosticsAsync (report As IProgress(Of DiagnosticReport), cancellationToken As CancellationToken) As Task

Parameters

report
IProgress<DiagnosticReport>

An receiver for diagnostics reports.

cancellationToken
CancellationToken

A cancellation token to cancel the in-progress invocation.

Returns

A Task representing the asynchronous operation.

Applies to