Bagikan melalui


IMissingComponentRegistrationService.RegisterMissingComponentsAsync Method

Definition

Registers the set of missing components for the specified projects.

public:
 System::Threading::Tasks::Task ^ RegisterMissingComponentsAsync(System::Collections::Generic::IReadOnlyDictionary<Guid, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^> ^ projectGuidToVSComponentIdsMap, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task RegisterMissingComponentsAsync (System.Collections.Generic.IReadOnlyDictionary<Guid,System.Collections.Generic.IReadOnlyCollection<string>> projectGuidToVSComponentIdsMap, System.Threading.CancellationToken cancellationToken);
abstract member RegisterMissingComponentsAsync : System.Collections.Generic.IReadOnlyDictionary<Guid, System.Collections.Generic.IReadOnlyCollection<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RegisterMissingComponentsAsync (projectGuidToVSComponentIdsMap As IReadOnlyDictionary(Of Guid, IReadOnlyCollection(Of String)), cancellationToken As CancellationToken) As Task

Parameters

projectGuidToVSComponentIdsMap
IReadOnlyDictionary<Guid,IReadOnlyCollection<String>>

A map from project GUIDs to collections of missing Visual Studio components for each project.

cancellationToken
CancellationToken

A cancellation token.

Returns

A Task representing the result of the asynchronous operation.

Applies to