---
title: "Disable Integrations"
description: "Learn more about the methods that disable integrations."
url: https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations/
---

# Disable Integrations | Sentry for Google Cloud Functions

The SDK provides integrations, which extend functionality of the SDK. Most integrations are enabled by default, though you can disable them if needed.

# [Options](https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations.md#options)

Most integrations can be disabled via the options when initializing the SDK. For example, to disable the automatic capture of unhandled exceptions:

```csharp
// Add it to your Sentry SDK initialization block:
options.DisableAppDomainUnhandledExceptionCapture()
```

## [DisableAppDomainUnhandledExceptionCapture](https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations.md#disableappdomainunhandledexceptioncapture)

Disables automatic capture of unhandled exceptions.

## [DisableRuntimeMarshalManagedExceptionCapture](https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations.md#disableruntimemarshalmanagedexceptioncapture)

Disables automatic capture of unhandled exceptions on iOS.

The `AppDomainUnhandledException` handler does [not reliably capture unhandled exceptions on iOS](https://github.com/getsentry/sentry-dotnet/pull/3909). Instead, `Runtime.MarshalManagedException` is used to capture unhandled exceptions on iOS.

## [DisableUnobservedTaskExceptionCapture](https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations.md#disableunobservedtaskexceptioncapture)

Disables automatic capture of Unobserved Task Exceptions.

## [DisableNetFxInstallationsIntegration](https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations.md#disablenetfxinstallationsintegration)

Disables adding the list of .NET Frameworks installations into events.

## [DisableAppDomainProcessExitFlush](https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations.md#disableappdomainprocessexitflush)

Disables flushing events upon `AppDomain.ProcessExit` event handler.

# [Sentry Native](https://docs.sentry.io/platforms/dotnet/guides/google-cloud-functions/configuration/disable-integrations.md#sentry-native)

On many platforms, the .NET SDK for Sentry includes Sentry Native, which lets you capture crash reports for native (unmanaged) code. If you are experiencing difficulties, you can disable Sentry Native by setting the `SentryNative` build property to `false`:

```xml
<PropertyGroup>
  <SentryNative>false</SentryNative>
</PropertyGroup>
```

Note: Sentry Native is disabled by default for applications targeting WASM.
