Share via


IProjectConfigurationService2.ValidateLaunchSettingsAsync(String) Method

Definition

Validate a JSON content of a launch.vs.json

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::Build::BuildMessage ^> ^> ^ ValidateLaunchSettingsAsync(System::String ^ jsonContent);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Build.BuildMessage>> ValidateLaunchSettingsAsync (string jsonContent);
abstract member ValidateLaunchSettingsAsync : string -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Build.BuildMessage>>
Public Function ValidateLaunchSettingsAsync (jsonContent As String) As Task(Of IReadOnlyCollection(Of BuildMessage))

Parameters

jsonContent
String

The JSON content to validate

Returns

Collection of BuildErrors to validate

Applies to