Compartilhar via


ISettingsManager3.GetSettingInfoAsync(String, CancellationToken) Method

Definition

Returns the metadata for a setting. If the named setting is not registered (registration is optional), the return value will express the default metadata for settings without registration.

public:
 System::Threading::Tasks::ValueTask<Microsoft::VisualStudio::RpcContracts::Settings::SettingInfo ^> GetSettingInfoAsync(System::String ^ moniker, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask<Microsoft.VisualStudio.RpcContracts.Settings.SettingInfo> GetSettingInfoAsync (string moniker, System.Threading.CancellationToken cancellationToken);
abstract member GetSettingInfoAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.VisualStudio.RpcContracts.Settings.SettingInfo>
Public Function GetSettingInfoAsync (moniker As String, cancellationToken As CancellationToken) As ValueTask(Of SettingInfo)

Parameters

moniker
String

The setting moniker (case insensitive).

cancellationToken
CancellationToken

A cancellation token.

Returns

An async task whose result is the info for the given setting.

Applies to