Compartilhar via


IVsBuildManagerAccessor3.RegisterLogger(Int32, Object) Method

Definition

Registers a logger for the submission.

public:
 int RegisterLogger(int submissionId, System::Object ^ punkLogger);
public:
 int RegisterLogger(int submissionId, Platform::Object ^ punkLogger);
int RegisterLogger(int submissionId, winrt::Windows::Foundation::IInspectable const & punkLogger);
public int RegisterLogger (int submissionId, object punkLogger);
abstract member RegisterLogger : int * obj -> int
Public Function RegisterLogger (submissionId As Integer, punkLogger As Object) As Integer

Parameters

submissionId
Int32

The submission for which the logger should be registered.

punkLogger
Object

The logger to register. The logger must implement ILogger.

Returns

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

Implements

Applies to