다음을 통해 공유


IBuildUpToDateCheckProvider2.IsUpToDateAsync Method

Definition

Check if project file is up to date based on a build configuration

public:
 System::Threading::Tasks::Task<bool> ^ IsUpToDateAsync(System::String ^ projectFile, System::String ^ projectFileTarget, Microsoft::VisualStudio::Workspace::Build::IDependencyBuildConfigurationContext ^ dependencyBuildConfigurationContext, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> IsUpToDateAsync (string projectFile, string projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IDependencyBuildConfigurationContext dependencyBuildConfigurationContext, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> IsUpToDateAsync (string projectFile, string? projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IDependencyBuildConfigurationContext dependencyBuildConfigurationContext, System.Threading.CancellationToken cancellationToken);
abstract member IsUpToDateAsync : string * string * Microsoft.VisualStudio.Workspace.Build.IDependencyBuildConfigurationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function IsUpToDateAsync (projectFile As String, projectFileTarget As String, dependencyBuildConfigurationContext As IDependencyBuildConfigurationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

projectFile
String

The project file to evaluate

projectFileTarget
String

Optional target in the project

dependencyBuildConfigurationContext
IDependencyBuildConfigurationContext

IDependencyBuildConfigurationContext instance

cancellationToken
CancellationToken

Cancellation token

Returns

true of if the project file is up to date or false otherwise

Applies to