Dela via


IVsBuildManagerAccessor2.RegisterLogger Method

Registers a logger for the submission.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function RegisterLogger ( _
    submissionId As Integer, _
    punkLogger As Object _
) As Integer
int RegisterLogger(
    int submissionId,
    Object punkLogger
)
int RegisterLogger(
    [InAttribute] int submissionId, 
    [InAttribute] Object^ punkLogger
)
abstract RegisterLogger : 
        submissionId:int * 
        punkLogger:Object -> int
function RegisterLogger(
    submissionId : int, 
    punkLogger : Object
) : int

Parameters

  • submissionId
    Type: Int32

    The submission for which the logger should be registered.

  • punkLogger
    Type: Object

    The logger to register. The logger must implement ILogger.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsBuildManagerAccessor2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace