IBuildUpToDateCheckProvider.IsUpToDateAsync Yöntem

Tanım

Proje dosyasının bir yapı yapılandırmasına göre güncel olup olmadığını denetleyin

public System.Threading.Tasks.Task<bool> IsUpToDateAsync (string projectFile, string projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, string buildConfiguration, System.Threading.CancellationToken cancellationToken = default);
abstract member IsUpToDateAsync : string * string * Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function IsUpToDateAsync (projectFile As String, projectFileTarget As String, buildConfigurationContext As IBuildConfigurationContext, buildConfiguration As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parametreler

projectFile
String

Değerlendirilecek proje dosyası

projectFileTarget
String

Projede isteğe bağlı hedef

buildConfigurationContext
IBuildConfigurationContext

İsteğe bağlı derleme yapılandırması bağlamı

buildConfiguration
String

İsteğe bağlı derleme yapılandırması

cancellationToken
CancellationToken

İptal belirteci

Döndürülenler

Task<Boolean>

Proje dosyasının güncel olması veya yanlış olması durumunda true, aksi takdirde

Şunlara uygulanır