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: Int32The submission for which the logger should be registered.
punkLogger
Type: ObjectThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.