IProjectConfigurationService2.ValidateLaunchSettingsAsync(String) 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.
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