Disable Integrations
All of Sentry’s SDKs provide integrations, which extend functionality of the SDK. Most integrations are enabled by default, though you can disable them if needed.
To disable an integration, for example, the automatic capture of unhandled exceptions:
Copied
// Add it to your Sentry SDK initialization block:
options.DisableAppDomainUnhandledExceptionCapture()
Disables automatic capture of unhandled exceptions.
Disables automatic capture of Unobserved Task Exceptions.
Disables adding the list of .NET Frameworks installations into events.
Disables flushing events upon AppDomain.ProcessExit
event handler.
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
- Package:
- nuget:Sentry.Log4Net
- Version:
- 4.3.0
- Repository:
- https://github.com/getsentry/sentry-dotnet