DiagnosticTracerBaseDisableBase Method |
Unsubscribes the observer from a particular named diagnostic event.
Namespace:
Autofac.Diagnostics
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax protected void DisableBase(
string diagnosticName
)
Protected Sub DisableBase (
diagnosticName As String
)
Parameters
- diagnosticName
- Type: SystemString
The name of the event to which the observer should unsubscribe. Diagnostic
names are case-sensitive.
Remarks
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