IBuildService.BuildProjectAsync Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir sağlayıcıdan derleme bağlamı eylemlerini çağırarak proje oluşturma
public:
System::Threading::Tasks::Task<bool> ^ BuildProjectAsync(System::String ^ projectFile, System::String ^ projectFileTarget, System::String ^ buildConfiguration, Guid buildContextType, IProgress<Microsoft::VisualStudio::Workspace::IFileContextActionProgressUpdate ^> ^ progress, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> BuildProjectAsync (string projectFile, string projectFileTarget, string buildConfiguration, Guid buildContextType, IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate> progress, System.Threading.CancellationToken cancellationToken);
abstract member BuildProjectAsync : string * string * string * Guid * IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function BuildProjectAsync (projectFile As String, projectFileTarget As String, buildConfiguration As String, buildContextType As Guid, progress As IProgress(Of IFileContextActionProgressUpdate), cancellationToken As CancellationToken) As Task(Of Boolean)
Parametreler
- projectFile
- String
Proje dosyası bağlamı
- projectFileTarget
- String
İsteğe bağlı proje hedefi
- buildConfiguration
- String
Derleme yapılandırması
- buildContextType
- Guid
İstenen derleme bağlam türü
- progress
- IProgress<IFileContextActionProgressUpdate>
İlerleme izleyicisi
- cancellationToken
- CancellationToken
İsteğe bağlı iptal belirteci
Döndürülenler
Derleme başarılı sonucuyla tamamlama görevi