次の方法で共有


IVsAsyncUnifiedSettingsObserverFactory.CreateSettingsObserverAsync Method

Definition

Instantiates Unified Settings observer identified by the given guid.

public Microsoft.VisualStudio.Shell.Interop.IVsTask CreateSettingsObserverAsync (Guid guid);
abstract member CreateSettingsObserverAsync : Guid -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function CreateSettingsObserverAsync (guid As Guid) As IVsTask

Parameters

guid
Guid

The Guid identifying the observer type.

Returns

A task whose result is is either:

Remarks

This factory method should subscribe to settings changes for the observer object before returning.

Applies to