Dela via


MuxLogger.RegisterLogger Method

Registers a logger on the MuxLogger and raises a build-started event if the build-started event has already been logged.

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.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Sub RegisterLogger ( _
    submissionId As Integer, _
    logger As ILogger _
)
public void RegisterLogger(
    int submissionId,
    ILogger logger
)
public:
void RegisterLogger(
    int submissionId, 
    ILogger^ logger
)
member RegisterLogger : 
        submissionId:int * 
        logger:ILogger -> unit
public function RegisterLogger(
    submissionId : int, 
    logger : ILogger
)

Parameters

  • submissionId
    Type: System.Int32

    The submission ID of the logger being registered.

.NET Framework Security

See Also

Reference

MuxLogger Class

Microsoft.Build.Utilities Namespace