• English日本語한국어
  • Log inStart now

IgnoreTransaction (.NET agent API)

Syntax

NewRelic.Api.Agent.NewRelic.IgnoreTransaction()

Do not instrument the current transaction.

Requirements

Compatible with all agent versions.

Must be called inside a transaction.

Description

Ignores the current transaction.

Tip

You can also ignore transactions via a custom instrumentation XML file.

Examples

NewRelic.Api.Agent.NewRelic.IgnoreTransaction();
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.