Synced
DiagnosticHub.CreateReporter
Section titled “DiagnosticHub.CreateReporter”
- Activates a producer at an owner safe point, revoking any previous registration with the same ID.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Diagnostics
Declaration
Section titled “Declaration”public Inno.Core.Diagnostics.DiagnosticReporter Inno.Core.Diagnostics.DiagnosticHub.CreateReporter(Inno.Core.Diagnostics.DiagnosticSource source)Parameters
Section titled “Parameters”Parameter source: The stable owner-qualified producer identity.
Returns
Section titled “Returns”A producer whose disposal clears only its own active registration.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The source is not initialized.