IManagedIntellisenseService.GetMSBuildCommandLineArgsAsync(String, String, IDictionary<String,String>, CancellationToken) Méthode

Définition

Obtenir les arguments de ligne de commande managés pour un projet MSBuild

public:
 System::Threading::Tasks::Task<Nullable<Microsoft::VisualStudio::Workspace::Extensions::ManagedCommandLineInfo>> ^ GetMSBuildCommandLineArgsAsync(System::String ^ msbuildProjectPath, System::String ^ projectBuildConfiguration, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Nullable<Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo>> GetMSBuildCommandLineArgsAsync (string msbuildProjectPath, string projectBuildConfiguration, System.Collections.Generic.IDictionary<string,string> globalProperties, System.Threading.CancellationToken cancellationToken);
abstract member GetMSBuildCommandLineArgsAsync : string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo>>
Public Function GetMSBuildCommandLineArgsAsync (msbuildProjectPath As String, projectBuildConfiguration As String, globalProperties As IDictionary(Of String, String), cancellationToken As CancellationToken) As Task(Of Nullable(Of ManagedCommandLineInfo))

Paramètres

msbuildProjectPath
String

Chemin du fichier projet MSBuild

projectBuildConfiguration
String

La configuration du projet

globalProperties
IDictionary<String,String>

Propriétés facultatives

cancellationToken
CancellationToken

Jeton d’annulation

Retours

Task<Nullable<ManagedCommandLineInfo>>

Informations sur la ligne de commande managée

S’applique à