Synced
DiagnosticSource.Constructor
Section titled “DiagnosticSource.Constructor”
- Creates an immutable identity for one independently replaceable diagnostic producer.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Diagnostics
Declaration
Section titled “Declaration”public Inno.Core.Diagnostics.DiagnosticSource.DiagnosticSource(string id, string displayName)Parameters
Section titled “Parameters”Parameter id: The globally stable machine-readable producer identifier.
Parameter displayName: The non-empty producer name presented by diagnostic consumers.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when either value is empty.