LoggerDescription.CreateLogger 方法

定义

通过此说明中的数据创建 ILogger。Create an ILogger out of the data in this description. 如果数据无效,则此方法可能会引发各种反射异常。This method may throw a variety of reflection exceptions if the data is invalid. 如果需要,调用方负责处理这些异常。It is the resposibility of the caller to handle these exceptions if desired.

public:
 Microsoft::Build::Framework::ILogger ^ CreateLogger();
public Microsoft.Build.Framework.ILogger CreateLogger ();
member this.CreateLogger : unit -> Microsoft.Build.Framework.ILogger
Public Function CreateLogger () As ILogger

返回

ILogger

注解

如果数据无效,则此方法可能会引发各种反射异常。This method may throw a variety of reflection exceptions if the data is invalid. 如果需要,调用方负责处理这些异常。It is the responsibility of the caller to handle these exceptions if desired.

适用于