IArraySettingMigrator.MigrateToUnifiedSettingsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a persisted array setting from its legacy location and returns it in a form Unified Settings can understand.
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Utilities.UnifiedSettings.ArraySettingContent> MigrateToUnifiedSettingsAsync(string arraySettingMoniker, System.Threading.CancellationToken cancellationToken);
abstract member MigrateToUnifiedSettingsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Utilities.UnifiedSettings.ArraySettingContent>
Public Function MigrateToUnifiedSettingsAsync (arraySettingMoniker As String, cancellationToken As CancellationToken) As Task(Of ArraySettingContent)
Parameters
- arraySettingMoniker
- String
The registered moniker of the array setting
- cancellationToken
- CancellationToken
Returns
The content of the array read from the legacy location