Compartir a través de


LoggerDescription Constructor

Creates a logger description based on the given parameters.

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.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.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 for the logger.

  • loggerAssemblyName
    Type: System.String

    The assembly name for the logger.

  • loggerAssemblyFile
    Type: System.String

    The assembly file name for the logger.

  • loggerSwitchParameters
    Type: System.String

    A string of logger parameters, nulla null reference (Nothing in Visual Basic) if there are none.

Remarks

The logger name is generated by combining its class name and assembly name.

.NET Framework Security

See Also

Reference

LoggerDescription Class

Microsoft.Build.BuildEngine Namespace