ICodeContainerStorageManager.AddOrUpdateAsync 方法

定义

为提供的添加或更新 Shell 记录 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)

参数

codeContainer
CodeContainer
cancellationToken
CancellationToken

返回

Task<Int32>

适用于