IVsBuildLoggerProvider.GetLogger Yöntem

Tanım

Bir derleme için günlükçü döndürür.

Bu yöntem tarafından döndürülen günlükçü, bir derleme ilerlemesini engelleyebilecekleri için, metodu herhangi bir iş parçacığında Çağrılmakta olan ve engellenmemelidir olması gerekir.

public:
 Microsoft::Build::Framework::ILogger ^ GetLogger(System::String ^ projectPath, System::Collections::Generic::IEnumerable<System::String ^> ^ targets, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ properties, bool isDesignTimeBuild);
public Microsoft.Build.Framework.ILogger GetLogger (string projectPath, System.Collections.Generic.IEnumerable<string> targets, System.Collections.Generic.IDictionary<string,string> properties, bool isDesignTimeBuild);
abstract member GetLogger : string * seq<string> * System.Collections.Generic.IDictionary<string, string> * bool -> Microsoft.Build.Framework.ILogger
Public Function GetLogger (projectPath As String, targets As IEnumerable(Of String), properties As IDictionary(Of String, String), isDesignTimeBuild As Boolean) As ILogger

Parametreler

projectPath
String

Oluşturulmakta olan proje dosyasının yolu.

targets
IEnumerable<String>

Derlenmekte olan hedef.

properties
IDictionary<String,String>

Derlemede ayarlanan özellikler.

isDesignTimeBuild
Boolean

Yapılandırmanın Kullanıcı tarafından istenen bir derleme olup olmadığı.

Döndürülenler

ILogger

Şunlara uygulanır