Click or drag to resize

OperationDiagnosticTracerBaseTContentDisable Method

Unsubscribes the observer from a particular named diagnostic event.

Namespace:  Autofac.Diagnostics
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
public override void Disable(
	string diagnosticName


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

By default the observer is not subscribed to any events. You must opt-in to any events you wish to handle. You may use EnableAll to subscribe to all Autofac events at once, or Enable(String) to subscribe to individual events.

See Also