Partager via


LoggerDescription.CreateLogger Method

Definition

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 ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public Microsoft.Build.Framework.ILogger CreateLogger ();
member this.CreateLogger : unit -> Microsoft.Build.Framework.ILogger
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.CreateLogger : unit -> Microsoft.Build.Framework.ILogger
Public Function CreateLogger () As ILogger

Returns

Attributes

Remarks

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.

Applies to