다음을 통해 공유


SettingsObserver Class

Definition

Base class for Unified Settings change event observers.

public abstract class SettingsObserver : IDisposable, Microsoft.VisualStudio.Shell.ISettingsObserver
type SettingsObserver = class
    interface ISettingsObserver
    interface IDisposable
Public MustInherit Class SettingsObserver
Implements IDisposable, ISettingsObserver
Inheritance
SettingsObserver
Implements

Constructors

SettingsObserver(SettingsObserverArguments, Boolean, Guid)
SettingsObserver(SettingsObserverArguments, Boolean)

Properties

DisposalToken

The owning package's disposal token.

JoinableTaskFactory

The joinable task factory.

ObservedMonikerPatterns

Gets the moniker patterns for the settings to be observed.

SettingsReader

The settings reader.

Methods

Dispose()
SettingChanged(String)

Handles a change notification for an observed setting.

SubscribeToSettingsChangesAsync(CancellationToken)

Subscribes to change notifications for the settings observer.

TryGetSettingValue<T>(String, T, SettingReadOptions)

Attempts to fetch the value of the specified setting.

Applies to