System.Diagnostics.StackTrace Class
Information   Base Types   Related Resources

Acquires a stack trace.

  • Namespace: System.Diagnostics
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (20)Discussions (274)MembersRotorChanges
    Articles

    Page: 1
    .NET Matters
    MSDN
    XML Comments, Late-bound COM, and More
    .NET Matters: Const in C#, Exception Filters, IWin32Window, and More
    MSDN
    Const in C#, Exception Filters, IWin32Window, and More
    A Simple .NET TCP Socket Component
    The Code Project
    Reusable C# code for client-server programming in .NET
    Customizing Error Pages
    http://aspalliance.com/
    When developing any application no matter if it is developed in C# or VB.NET you will always want to handle and respond to any type of errors for obvious reasons. If you think about it there is nothing more embarrassing than an error being seen by your end users. I will discuss using the global.asax and web.config to customize errors. By utilizing one or both of these files you can customize exactly how you wish to handle any errors from you application.
    DAL - Declarative Transactions at the Method level w/o EnterpriseServices, MsSql, or OleDb, Xml supported
    The Code Project
    A database component for different datasources, supporting declarative transactions at the method level, without COM+.
    DataAdapter Events
    .NET Xtreme
    DataAdapter class(OleDb and Sql) exposes three events that can be used as record and respond to the changes being made to the database.
    Error Handling in Visual Basic .NET
    MSDN
    Discusses how error handling differs between Visual Basic .NET and Visual Basic 6.0. Main topics include Try/Catch blocks, Exception objects, procedure callers, and how to create your own Exception classes.
    Global Error Handling in ASP.NET
    The Code Project
    An article on how to gracefully trap application errors in asp.net applications
    Highlight VS.NET code position from exception while debugging
    The Code Project
    This snippets provide a way to extract line number information from an exception's stack trace and highlighting the line in source code when the debugger is attached. I copied it out from a large project and it won't therefore be usable 'as is,' but the essentials could easily be reused.
    How to catch exceptions in Visual C++ .NET
    Microsoft Support
    (815662) - Catching and dealing with exceptions are standard programming tasks. This article describes how to use a try-catch-finally block to catch an exception. A try-catch-finally block is a wrapper that you put around any code where an exception might occur....
    How to catch exceptions in Visual C++ .NET
    http://www.kbalertz.com/
    (815662) - Catching and dealing with exceptions are standard programming tasks. This article describes how to use a try-catch-finally block to catch an exception. A try-catch-finally block is a wrapper that you put around any code where an exception might occur....
    Logging Errors Automatically in Your ASP.NET Application
    DotNetJunkies
    As developers, we can only fix things if we know they're broken. I've been a part of several companies in which the users will encounter a fatal error on a web page and just close the browser and go home. That doesn't help anybody, especially me (as the developer) because even though the application went through several rounds of testing and bug fixing, two months down the road I could find myself in a meeting with a dozen people who suddenly bring up the fact that only two thirds of the application is usef
    Logging Unhandled Page Exceptions To The System Event Log
    DotNetJunkies
    Error handling is a critical part of building enterprise level web applications, for that matter, it is a huge page of any application. In one of last weeks article we discussed using the Try...Catch...Finally statement to catch and respond to exceptions thrown during the page execution process. In this article I will be introducing a new way to catch Page-Level exceptions by introducing the HandleError Method.
    Monitoring Processes and Threads in .NET
    C#Today
    In this article, Melanie Talmadge shows us how to write a process and thread monitoring system in .NET using C#. We cover the System.Diagnostics namespace with its Process and ProcessThread classes for working with process and threads, and write our own Task Manager application, similar to that which comes with Windows NT and Windows 2000. This program displays all the running processes, their related resources and related threads.
    NET Diagnostics – IV, Use Environment Class To Get Your Environment
    The Code Project
    As the title of article says, I will be discussing use of Environment class in System namespace. I was looking for equivalents to some of very useful Win32 APIs that we use in our projects a lot. E.g. what is my OS, what is path to system folder, what is the current folder, how do I terminate a process, etc? In Win32 we have APIs like GetVersionEx, GetCurrentDirectory, GetSystemDirectory, exit, etc. to accomplish all these tasks. So where do we look in .NET SDK for all these APIs.
    Regasm2.exe - The .Net/COM+ Installation Tool
    The Code Project
    This article describes how to design, build and install .Net Application into the COM+ Catalog without using the ServicedComponent class in your application. The solution shows retrieving the assembly and class attributes (included custom) from the assembly file and their storing into the COM+ Catalog Objects using the C# language.
    Rich Custom Error Handling with ASP.NET
    MSDN
    Add your own custom error handling to your ASP.NET Web applications to ease debugging and improve customer satisfaction.
    Troubleshooting Common Problem with the XML Serializer
    MSDN
    Christoph Schittko discusses various techniques for diagnosing common problems that occur when converting XML to objects and vice versa with XML Serialization technology in the .NET Framework.
    Using the Try...Catch...Finally Statement
    DotNetJunkies
    Structured error handling will be a completely new concept to Visual Basic and VBScript developers. Since the .NET Framework requires the use of Strong Typed Languages, such as Visual Basic it is time to learn how to use this method of error handling.
    Utilize the full functionality of Whidbey File Management from VB.NET
    The Code Project
    Article on Whidbey File Management
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com