Share via


IMissingServiceDiagnosticsService.AnalyzeMissingServiceAsync Method

Definition

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

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Utilities::ServiceBroker::MissingServiceAnalysis ^> ^ AnalyzeMissingServiceAsync(Microsoft::ServiceHub::Framework::ServiceMoniker ^ missingServiceMoniker, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Utilities.ServiceBroker.MissingServiceAnalysis> AnalyzeMissingServiceAsync (Microsoft.ServiceHub.Framework.ServiceMoniker missingServiceMoniker, System.Threading.CancellationToken cancellationToken);
abstract member AnalyzeMissingServiceAsync : Microsoft.ServiceHub.Framework.ServiceMoniker * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Utilities.ServiceBroker.MissingServiceAnalysis>
Public Function AnalyzeMissingServiceAsync (missingServiceMoniker As ServiceMoniker, cancellationToken As CancellationToken) As Task(Of MissingServiceAnalysis)

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