IMissingServiceDiagnosticsService.AnalyzeMissingServiceAsync Method

Definition

Analyzes possible explanations for why a brokered service could not be acquired.

C++
public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Utilities::ServiceBroker::MissingServiceAnalysis ^> ^ AnalyzeMissingServiceAsync(Microsoft::ServiceHub::Framework::ServiceMoniker ^ missingServiceMoniker, System::Threading::CancellationToken cancellationToken);

Parameters

missingServiceMoniker
ServiceMoniker

The moniker of the missing brokered service.

cancellationToken
CancellationToken

A cancellation token.

Returns

An analysis describing the first problem encountered while looking for the brokered service.

Applies to

Product Versions
Visual Studio SDK 2019, 2022