IDependencyBuildConfigurationContext.GetDependencyBuildConfigurationAsync 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.
Resolve a build configuration dependency
public:
System::Threading::Tasks::Task<System::String ^> ^ GetDependencyBuildConfigurationAsync(Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceData ^ indexWorkspaceData, System::String ^ dependencyProjectFile, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<string> GetDependencyBuildConfigurationAsync (Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceData indexWorkspaceData, string dependencyProjectFile, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<string?> GetDependencyBuildConfigurationAsync (Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceData? indexWorkspaceData, string dependencyProjectFile, System.Threading.CancellationToken cancellationToken);
abstract member GetDependencyBuildConfigurationAsync : Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetDependencyBuildConfigurationAsync (indexWorkspaceData As IIndexWorkspaceData, dependencyProjectFile As String, cancellationToken As CancellationToken) As Task(Of String)
Parameters
- indexWorkspaceData
- IIndexWorkspaceData
Optional index workspace data
- dependencyProjectFile
- String
Path to dependency project to resolve
- cancellationToken
- CancellationToken
Cancellation token
Returns
Completion task