Disable Integrations

Learn more about the methods that 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").