Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Registers a logger for the submission.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.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: System.Int32The submission for which the logger should be registered.
punkLogger
Type: System.ObjectThe logger to register. The logger must implement ILogger.
Return Value
Type: System.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.