Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Registers a sink and synchronously replays every active report before registration completes.

API: engine
Project: Inno.Core.Diagnostics

public void Inno.Core.Diagnostics.DiagnosticHub.RegisterSink(Inno.Core.Diagnostics.IDiagnosticSink sink)

Parameter sink: The sink that receives current and future reports.

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

Exception T:System.InvalidOperationException: Thrown when the sink cannot accept the current diagnostic snapshot.