IVsSolutionWorkspaceService.GetManagedCommandLineInfoAsync 方法

定义

获取托管命令行信息。

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyDictionary<System::String ^, Microsoft::VisualStudio::Workspace::Extensions::ManagedCommandLineInfo> ^> ^ GetManagedCommandLineInfoAsync(System::String ^ solutionBuildConfiguration, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo>> GetManagedCommandLineInfoAsync (string solutionBuildConfiguration, System.Threading.CancellationToken cancellationToken);
abstract member GetManagedCommandLineInfoAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo>>
Public Function GetManagedCommandLineInfoAsync (solutionBuildConfiguration As String, cancellationToken As CancellationToken) As Task(Of IReadOnlyDictionary(Of String, ManagedCommandLineInfo))

参数

solutionBuildConfiguration
String

解决方案生成配置

cancellationToken
CancellationToken

可选取消标记

返回

Task<IReadOnlyDictionary<String,ManagedCommandLineInfo>>

包含命令行信息的字典映射的完成任务

适用于