IDiagnosticViewerService.RequestDiagnosticsAsync 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.
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.