Share via


MockVsActivityLog Class

Definition

An implementation of IVsActivityLog for testing.

public class MockVsActivityLog : Microsoft.VisualStudio.Shell.Interop.IVsActivityLog
type MockVsActivityLog = class
    interface IVsActivityLog
Public Class MockVsActivityLog
Implements IVsActivityLog
Inheritance
MockVsActivityLog
Implements

Constructors

MockVsActivityLog()

Properties

ForwardTo

Gets or sets an implementation to forward all calls to.

Methods

LogEntry(UInt32, String, String)

Makes a log entry specifying the log type, the package name, and the event text.

LogEntryGuid(UInt32, String, String, Guid)

Makes a log entry specifying entry type, package name, event text, and GUID to store in the event record.

LogEntryGuidHr(UInt32, String, String, Guid, Int32)

Makes a log entry specifying entry type, package name, event text, a GUID to store in the event record, and an HRESULT to store in the event record.

LogEntryGuidHrPath(UInt32, String, String, Guid, Int32, String)

Makes a log entry specifying entry type, package name, the event text, a GUID to store in the event record, an HRESULT to store in the event record and a full file path to store in the event record.

LogEntryGuidPath(UInt32, String, String, Guid, String)

Makes a log entry specifying entry type, package name, event text, a GUID to store in the event record, and a full file path to store in the event record.

LogEntryHr(UInt32, String, String, Int32)

Makes a log entry specifying entry type, package name, event text, and an HRESULT to store in the event record.

LogEntryHrPath(UInt32, String, String, Int32, String)

Makes a log entry specifying entry type, package name, event text, an HRESULT to store in the event record, and a full file path to store in the event record.

LogEntryPath(UInt32, String, String, String)

Makes a log entry specifying entry type, package name, event text, and a full file path to store in the event record.

Applies to