IVsSolutionWorkspaceService.GetManagedCommandLineInfoAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取托管命令行信息。
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
可选取消标记
返回
包含命令行信息的字典映射的完成任务