Click or drag to resize

DiagnosticTracerBaseDisableBase Method

Unsubscribes the observer from a particular named diagnostic event.

Namespace:  Autofac.Diagnostics
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
protected void DisableBase(
	string diagnosticName


Type: SystemString
The name of the event to which the observer should unsubscribe. Diagnostic names are case-sensitive.

Derived classes may override the public Disable(String) method to handle consumer calls to disabling events; constructors needing to call non-virtual methods may directly call this to avoid executing against partially constructed derived classes.

See Also