ExtensibilityDiagnosticsLoggerConfiguration Constructor
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.
Initializes a new instance of the ExtensibilityDiagnosticsLoggerConfiguration class.
protected ExtensibilityDiagnosticsLoggerConfiguration (string featureArea, bool diagnosticsEnabled, Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf, System.Diagnostics.TraceSource traceSource, Microsoft.VisualStudio.Shell.Internal.IExtensibilityDiagnosticsService? extensibilityDiagnosticsService);
new Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticsLoggerConfiguration : string * bool * Microsoft.VisualStudio.Threading.JoinableTaskFactory * System.Diagnostics.TraceSource * Microsoft.VisualStudio.Shell.Internal.IExtensibilityDiagnosticsService -> Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticsLoggerConfiguration
Protected Sub New (featureArea As String, diagnosticsEnabled As Boolean, jtf As JoinableTaskFactory, traceSource As TraceSource, extensibilityDiagnosticsService As IExtensibilityDiagnosticsService)
Parameters
- featureArea
- String
The name of the feature area that will be logging diagnostics.
- diagnosticsEnabled
- Boolean
A value indicating whether diagnostics are enabled.
A JoinableTaskFactory used for threading.
- traceSource
- TraceSource
An optional TraceSource that a listener will be added to to send logging to the diagnostics service.
- extensibilityDiagnosticsService
- IExtensibilityDiagnosticsService
The diagnostics service used for logging.