Freigeben über


ExtensibilityDiagnosticEventContext Constructors

Definition

Overloads

ExtensibilityDiagnosticEventContext(ExtensibilityDiagnosticEventContext)
ExtensibilityDiagnosticEventContext(String, String, String)

Represents the context related to an instance of an event that has occurred and that will be logged with the IExtensibilityDiagnosticsService.

ExtensibilityDiagnosticEventContext(ExtensibilityDiagnosticEventContext)

protected ExtensibilityDiagnosticEventContext (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventContext original);
Protected Sub New (original As ExtensibilityDiagnosticEventContext)

Parameters

Applies to

ExtensibilityDiagnosticEventContext(String, String, String)

Represents the context related to an instance of an event that has occurred and that will be logged with the IExtensibilityDiagnosticsService.

public ExtensibilityDiagnosticEventContext (string EventName, string ItemId, string? ExtensionId = default);
new Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventContext : string * string * string -> Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventContext
Public Sub New (EventName As String, ItemId As String, Optional ExtensionId As String = Nothing)

Parameters

EventName
String

The name of the event.

ItemId
String

An optional identifier for the extension that this error relates to.

ExtensionId
String

The id of an item that is associated with the event that occurred.

Applies to