Поделиться через


IProjectConfigurationService2.CustomizeLaunchSettingsAsync Метод

Определение

Настройка параметров запуска для файла проекта

public:
 System::Threading::Tasks::Task<Tuple<System::String ^, Microsoft::VisualStudio::Workspace::IPropertySettings ^, System::String ^, Tuple<int, int> ^> ^> ^ CustomizeLaunchSettingsAsync(System::String ^ debuggerType, Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettings ^ selectedContent, Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext, bool allowDuplicate, bool updateContent);
public System.Threading.Tasks.Task<Tuple<string,Microsoft.VisualStudio.Workspace.IPropertySettings,string,Tuple<int,int>>> CustomizeLaunchSettingsAsync (string debuggerType, Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings selectedContent, Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, bool allowDuplicate, bool updateContent);
abstract member CustomizeLaunchSettingsAsync : string * Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings * Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * bool * bool -> System.Threading.Tasks.Task<string * Microsoft.VisualStudio.Workspace.IPropertySettings * string * int * int>
Public Function CustomizeLaunchSettingsAsync (debuggerType As String, selectedContent As IWorkspaceSettings, projectFileContext As ProjectTargetFileContext, allowDuplicate As Boolean, updateContent As Boolean) As Task(Of Tuple(Of String, IPropertySettings, String, Tuple(Of Integer, Integer)))

Параметры

debuggerType
String

Идентификатор шаблона отладчика (может иметь значение NULL)

selectedContent
IWorkspaceSettings

начальное содержимое из шаблона

projectFileContext
ProjectTargetFileContext

Контекст файла проекта

allowDuplicate
Boolean

Если для имен проектов разрешено дублирование

updateContent
Boolean

, если содержимое launch.json будет обновлено на диске

Возвращаемое значение

Положение контекста, в котором размещается раздел конфигурации запуска

Применяется к