Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Atomically replaces the complete diagnostic state published by one producer.

API: engine
Project: Inno.Core.Diagnostics

public void Inno.Core.Diagnostics.DiagnosticHub.Set(Inno.Core.Diagnostics.DiagnosticSource source, System.Collections.Generic.IEnumerable<Inno.Core.Diagnostics.Diagnostic> diagnostics)

Parameter source: The stable producer identity whose previous report is replaced.

Parameter diagnostics: The complete current report, or an empty collection to clear it.

Exception T:System.ArgumentException: Thrown when the source is invalid or the collection contains a null entry.

Exception T:System.ArgumentNullException: Thrown when diagnostics is null.