From baa179f27de6d7309ccf33bb270242ba9f273a91 Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Thu, 23 Oct 2025 14:29:48 +1300 Subject: [PATCH 1/2] Update disable-integrations.mdx --- .../configuration/disable-integrations.mdx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/platforms/dotnet/common/configuration/disable-integrations.mdx b/docs/platforms/dotnet/common/configuration/disable-integrations.mdx index 6260d0b63d89c..814958955226e 100644 --- a/docs/platforms/dotnet/common/configuration/disable-integrations.mdx +++ b/docs/platforms/dotnet/common/configuration/disable-integrations.mdx @@ -6,7 +6,9 @@ description: "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: +# 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: @@ -39,3 +41,15 @@ Disables adding the list of .NET Frameworks installations into events. ## DisableAppDomainProcessExitFlush Disables flushing events upon `AppDomain.ProcessExit` event handler. + +# 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 `SentryOptions.EnableNativeSdk` option to `false`: + +```xml + + false + +``` + +Note: Sentry Native is disabled by default for applications targeting WASM. From 6bf3a21b40b7b60a25605a66dca72efff210d09c Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Thu, 23 Oct 2025 14:35:32 +1300 Subject: [PATCH 2/2] Update disable-integrations.mdx --- .../dotnet/common/configuration/disable-integrations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/dotnet/common/configuration/disable-integrations.mdx b/docs/platforms/dotnet/common/configuration/disable-integrations.mdx index 814958955226e..a339774f820c1 100644 --- a/docs/platforms/dotnet/common/configuration/disable-integrations.mdx +++ b/docs/platforms/dotnet/common/configuration/disable-integrations.mdx @@ -44,7 +44,7 @@ Disables flushing events upon `AppDomain.ProcessExit` event handler. # 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 `SentryOptions.EnableNativeSdk` option to `false`: +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