Share via


ISettingsManagerHost2 Interface

Definition

public interface class ISettingsManagerHost2 : Microsoft::VisualStudio::Settings::ISettingsManagerHost
public interface ISettingsManagerHost2 : Microsoft.VisualStudio.Settings.ISettingsManagerHost
type ISettingsManagerHost2 = interface
    interface ISettingsManagerHost
Public Interface ISettingsManagerHost2
Implements ISettingsManagerHost
Derived
Implements

Properties

AppDir

Gets the application directory

(Inherited from ISettingsManagerHost)
AppInitCompletionTask

Optional task indicating the host is finished starting. The settings manager will defer resource-intensive tasks until after this task completes.

(Inherited from ISettingsManagerHost)
CollectionName

Gets the name of the settings collection to be addressed by this host. This is used to partition settings based on host parameters like VS's /rootSuffix parameter.

(Inherited from ISettingsManagerHost)
Logger

A logger for error telemetry.

(Inherited from ISettingsManagerHost)
NameTranslator

Optional translator between private and shared setting names.

(Inherited from ISettingsManagerHost)
PrivateStorage

The backing store for private settings.

(Inherited from ISettingsManagerHost)
TelemetrySettings
Obsolete.

Gets the serialized telemetry settings from the host, obtained via ITelemetrySession.SerializeSettings. This may be null if the host has no telemetry session.

(Inherited from ISettingsManagerHost)

Methods

GetTelemetrySettingsAsync()

Gets the serialized telemetry settings from the host, obtained via ITelemetrySession.SerializeSettings. The result may be null if the host has no telemetry session.

IsSharedOrRoamedSetting(String)

Determines whether a setting is private vs. shared/roamed.

(Inherited from ISettingsManagerHost)

Events

HostShuttingDown

Raised when the host is about to shut down, to give the settings manager an opportunity to release resources, finish or cancel async tasks, etc. The host should wait until the async event handler is complete (e.g. using the RaiseEventAsync<T>(Delegate, Object, T) extension method) before continuing.

(Inherited from ISettingsManagerHost)
IdleStateChanged

Raised when the host application goes idle or becomes active again, to enable reduced resource usage during the idle period.

(Inherited from ISettingsManagerHost)

Applies to