RemoteCodeContainerRegistry Class

Definition

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.

[Windows::Foundation::Metadata::WebHostHidden]
class RemoteCodeContainerRegistry : Microsoft::VisualStudio::Shell::ObservableSettingsListBase<Microsoft::VisualStudio::Shell::CodeContainerManagement::RemoteCodeContainer>
Inheritance

Constructors

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 value to the Registry under the supplied key.

(Inherited from ObservableSettingsListBase<TValue>)
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 key if any. Returns null otherwise.

(Inherited from ObservableSettingsListBase<TValue>)
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 key if any.

(Inherited from ObservableSettingsListBase<TValue>)
RemoveAsync(String, Object) (Inherited from ObservableSettingsListBase<TValue>)
SubscribeAsync(ITargetBlock<StatefulReadOnlyList<ValueT,Object>>, CancellationToken)

Allows targetBlock to receive updates of the list of items stored on the list and receive up-to-date versions of it whenever it gets modified.

(Inherited from ObservableSettingsListBase<TValue>)
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>)

Applies to