ICodeContainerStorageManager.AddOrUpdateAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为提供的添加或更新 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