---
title: "Discussion on \"Detect ongoing .NET exceptions\" | Hashnode"
description: "Discussion on \"Detect ongoing .NET exceptions\". Sometimes it can be useful to detect if an exception is ongoing.\nFor instance, in a Dispose() method, it's valuable to ascertain if an exception is already in progress to avoid throwing a new exception and losing the original one.\nProblem encountered..."
url: "https://hashnode.com/posts/detect-ongoing-net-exceptions/656de46c61b85466308cb215"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Detect ongoing .NET exceptions](https://gilles.tourreau.fr/detect-ongoing-net-exceptions?utm_source=hashnode&utm_medium=feed)

Sometimes it can be useful to detect if an exception is ongoing. For instance, in a Dispose() method, it's valuable to ascertain if an exception is already in progress to avoid throwing a new exception and losing the original one. Problem encountered...

Dec 4, 2023 · 3 min read · gilles.tourreau.fr  
Read the article

-   [#net](https://hashnode.com/tag/net)
-   [#exceptions](https://hashnode.com/tag/exceptions)
-   [#trycatch](https://hashnode.com/tag/trycatch)
-   [#csharp](https://hashnode.com/tag/csharp)

## Written by

[Gilles TOURREAU](https://hashnode.com/@gillestourreau)

@gillestourreau · Courbevoie, FR

  
[View profile](https://hashnode.com/@gillestourreau)

A .NET/Azure developer and architect since so many years...

I'm a French seasoned architect and developer specializing in Microsoft technologies such as .NET and Azure. As a freelance professional, I've lent my expertise to diverse sectors including Energy, Banking, Insurance, Software Publishing, Transportation, and Industry. With over 25 years of dedicated experience in Microsoft technologies, I've established three software publishing companies, initially on-premises and later transitioning to SaaS models. My journey has been driven by a passion for innovation and a commitment to delivering top-notch solutions in the ever-evolving tech landscape. Humorously attributing my baldness to solving countless tech puzzles. Passionate about travel, having worked extensively abroad in Indonesia, Hong Kong, Singapore, and Australia. Philippines holds my heart, magnetized by its heavenly beaches. My English might not be top-notch, but it’s enough to bicker with my Filipina partner! 😁

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
