Partager via


LoggerDescription Constructor

Creates a logger description from the given data.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Logging
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Sub New ( _
    loggerClassName As String, _
    loggerAssemblyName As String, _
    loggerAssemblyFile As String, _
    loggerSwitchParameters As String, _
    verbosity As LoggerVerbosity _
)
public LoggerDescription(
    string loggerClassName,
    string loggerAssemblyName,
    string loggerAssemblyFile,
    string loggerSwitchParameters,
    LoggerVerbosity verbosity
)
public:
LoggerDescription(
    String^ loggerClassName, 
    String^ loggerAssemblyName, 
    String^ loggerAssemblyFile, 
    String^ loggerSwitchParameters, 
    LoggerVerbosity verbosity
)
new : 
        loggerClassName:string * 
        loggerAssemblyName:string * 
        loggerAssemblyFile:string * 
        loggerSwitchParameters:string * 
        verbosity:LoggerVerbosity -> LoggerDescription
public function LoggerDescription(
    loggerClassName : String, 
    loggerAssemblyName : String, 
    loggerAssemblyFile : String, 
    loggerSwitchParameters : String, 
    verbosity : LoggerVerbosity
)

Parameters

  • loggerClassName
    Type: System.String

    The class name of the logger.

  • loggerAssemblyName
    Type: System.String

    The assembly name that implements the logger.

  • loggerAssemblyFile
    Type: System.String

    The assembly file that implements the logger.

  • loggerSwitchParameters
    Type: System.String

    Switch parameters for the logger.

.NET Framework Security

See Also

Reference

LoggerDescription Class

Microsoft.Build.Logging Namespace