CodeContainerStorageManager 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
负责管理 Shell 所访问代码容器的记录的主要类型。 它主要负责 (Shell 访问的代码容器) 簿记, (b) 漫游与 web 上的此类代码容器相关的信息
public ref class CodeContainerStorageManager : Microsoft::VisualStudio::Shell::CodeContainerManagement::ICodeContainerStorageManager
[Windows::Foundation::Metadata::WebHostHidden]
class CodeContainerStorageManager : Microsoft::VisualStudio::Shell::CodeContainerManagement::ICodeContainerStorageManager
public class CodeContainerStorageManager : Microsoft.VisualStudio.Shell.CodeContainerManagement.ICodeContainerStorageManager
type CodeContainerStorageManager = class
interface ICodeContainerStorageManager
Public Class CodeContainerStorageManager
Implements ICodeContainerStorageManager
- 继承
-
CodeContainerStorageManager
- 实现
构造函数
| CodeContainerStorageManager(ObservableSettingsListBase<CodeContainer>, ObservableSettingsListBase<RemoteCodeContainer>) |
初始化 CodeContainerStorageManager 的新实例。 |
方法
| AddOrUpdateAsync(CodeContainer, CancellationToken) |
为提供的添加或更新 Shell 记录 |
| ClearAsync(CancellationToken) | |
| GetAsync(String, CancellationToken) |
检索 CodeContainer 其 Full-Path 等于的, |
| RemoveAsync(CodeContainer, CancellationToken) |
删除所提供的的 Shell 记录 |
| SubscribeAsync(ITargetBlock<StatefulReadOnlyList<CodeContainer,Nullable<Int32>>>, CancellationToken) |
允许 |