DiagnosticTracerBaseOnOperationFailure Method |
Handles the event raised when a resolve operation encounters an error.
Namespace:
Autofac.Diagnostics
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax protected virtual void OnOperationFailure(
OperationFailureDiagnosticData data
)
Protected Overridable Sub OnOperationFailure (
data As OperationFailureDiagnosticData
)
Parameters
- data
- Type: Autofac.DiagnosticsOperationFailureDiagnosticData
Diagnostic data associated with the event.
Remarks
Derived classes can override this method and perform actions based
on the event. By default, the base class does nothing.
See Also