ICodeContainerStorageManager.AddOrUpdateAsync(CodeContainer, CancellationToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute ou met à jour les enregistrements de l’interpréteur de commandes pour le fourni codeContainer .
public:
System::Threading::Tasks::Task<int> ^ AddOrUpdateAsync(Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainer ^ codeContainer, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<int> AddOrUpdateAsync (Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer codeContainer, System.Threading.CancellationToken cancellationToken);
abstract member AddOrUpdateAsync : Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function AddOrUpdateAsync (codeContainer As CodeContainer, cancellationToken As CancellationToken) As Task(Of Integer)
Paramètres
- codeContainer
- CodeContainer
- cancellationToken
- CancellationToken