ExtensibilityDiagnosticEventContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- original
- ExtensibilityDiagnosticEventContext
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.