Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an immutable identity for one independently replaceable diagnostic producer.

API: engine
Project: Inno.Core.Diagnostics

public Inno.Core.Diagnostics.DiagnosticSource.DiagnosticSource(string id, string displayName)

Parameter id: The globally stable machine-readable producer identifier.

Parameter displayName: The non-empty producer name presented by diagnostic consumers.

Exception T:System.ArgumentException: Thrown when either value is empty.