Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 239159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:33:47+00:00 2026-05-11T20:33:47+00:00

In the app.config file of a .NET application there is a <runtime> element that

  • 0

In the app.config file of a .NET application there is a <runtime> element that allows you to configure various behaviours of the CLR, usually for backwards compatibility with legacy behaviours.

For example:

<configuration>
    <runtime>
        <legacyUnhandledExceptionPolicy enabled="true"/> <!-- .NET 2 -->
        <legacyCorruptedStateExceptionsPolicy enabled="true"/> <!-- .NET 4 -->
    </runtime>
</configuration>

I have come across a handful of these settings, and was hoping to find comprehensive documentation of all available settings on MSDN so I can see what else is available. However, I’ve been unable to find any central listing of all available runtime configuration settings, and the app.config schema is no help either, because the <runtime> element is specified as ‘anything goes’ (in order to be future-proof, I guess).

Can someone point me in the direction of some central documentation, preferably on MSDN, that lists all available settings for the runtime element in app.config, preferably including .NET 4.0?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:33:47+00:00Added an answer on May 11, 2026 at 8:33 pm

    Well, I find this in MSDN:

    <runtime> Element, Framework 1.1

    <runtime> Element, Framework 2.0

    <runtime> Element, Framework 3.0

    <runtime> Element, Framework 3.5

    <runtime> Element, Framework 4.0

    No guarantees that it’s complete, and I don’t see legacyUnhandledExceptionPolicy anywhere, but I think it’s as close to official as you’re going to get.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am unit testing a .NET application (.exe) that uses an app.config file to
I am developing a C# .NET application. In the app.config file I add trace
I am trying to update the app.config file at runtime. I get the error
Application is running in my local system app.config file <add key=dbconn value=Data Source=(local);database=VTech;User ID=sa;Password=sa;
Is there any existing solution to embed the app.config file into the resulting assembly?
Is there a way to write in a app.config file the information about endpoints?
My VB.NET 2008, .NET 3.5 application is using an app.config with settings defined as
Can anyone help. I have an ASP.NET application which has a web.config file so
How do I dynamically reload the app.config in a .net Windows application? I need
I have an App.config file in my project that gets copied to NameOfExe.exe.config at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.