IMissingServiceDiagnosticsService.AnalyzeMissingServiceAsync 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.
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.