ICodeContainerStorageManager.AddOrUpdateAsync 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.
Adds or updates the records of the Shell for the supplied 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)
Parameters
- codeContainer
- CodeContainer
- cancellationToken
- CancellationToken