RemoteCodeContainerRegistry Class
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.
A type that represents the Registry employed by the Shell for the purposes of tracking and roaming of information related to the online presence and hosting of Code Containers on the web.
public ref class RemoteCodeContainerRegistry : Microsoft::VisualStudio::Shell::ObservableSettingsListBase<Microsoft::VisualStudio::Shell::CodeContainerManagement::RemoteCodeContainer ^>
[Windows::Foundation::Metadata::WebHostHidden]
class RemoteCodeContainerRegistry : Microsoft::VisualStudio::Shell::ObservableSettingsListBase<Microsoft::VisualStudio::Shell::CodeContainerManagement::RemoteCodeContainer>
public class RemoteCodeContainerRegistry : Microsoft.VisualStudio.Shell.ObservableSettingsListBase<Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer>
type RemoteCodeContainerRegistry = class
inherit ObservableSettingsListBase<RemoteCodeContainer>
Public Class RemoteCodeContainerRegistry
Inherits ObservableSettingsListBase(Of RemoteCodeContainer)
- Inheritance
Constructors
RemoteCodeContainerRegistry(ISettingsManager) |
Properties
Capacity | (Inherited from ObservableSettingsListBase<TValue>) |
IsRoamed |
Keep the underlying data stored locally and on the cloud, i.e. roam it. |
Recycle | (Inherited from ObservableSettingsListBase<TValue>) |
SettingsList |
The actual settings list where the Code Container data is persisted. (Inherited from ObservableSettingsListBase<TValue>) |
SettingsListName |
The name of the underlying store used to persist the data on this Registry. |
Methods
AddOrUpdateAsync(String, ValueT, Object, CancellationToken) |
Adds or updates |
AddToFrontAsync(String, RemoteCodeContainer, Object) | |
AddToFrontAsync(String, ValueT, Object) | (Inherited from ObservableSettingsListBase<TValue>) |
ClearAsync(Object, CancellationToken) |
Clears all keys and values stored on the list. (Inherited from ObservableSettingsListBase<TValue>) |
ClearAsync(Object) | (Inherited from ObservableSettingsListBase<TValue>) |
CodeContainerSettingsList_CollectionChangedAsync(Object, SettingsListChangedEventArgs) | |
GetAsync(String, CancellationToken) |
Retrieves the Code Container associated with |
GetValueOrDefault(String) | |
PurgeIfNecessaryAsync(Object, CancellationToken) |
Removes a fixed number of the least-accessed values to keep the underlying ISettingsList from growing indefinitely. (Inherited from ObservableSettingsListBase<TValue>) |
RemoveAsync(String, Object, CancellationToken) |
Removes the value stored under the supplied |
RemoveAsync(String, Object) | (Inherited from ObservableSettingsListBase<TValue>) |
SubscribeAsync(ITargetBlock<StatefulReadOnlyList<ValueT,Object>>, CancellationToken) |
Allows |
SuspendUpdatesAsync() |
Suspends sending updates to any subscribed observers. This is useful in case multiple changes are made to the list cause it keeps the list from pushing updates to subscribers every single time a change is made. Any updates made to the underlying list during suspension will cause an up-to-date copy to be pushed to subscribers as soon as suspensions are disposed of. (Inherited from ObservableSettingsListBase<TValue>) |