Exception handling in .NET Framework 4.0
Explain how exception handling is changed in the .NET Framework 4.0?
Expert
In .NET 4.0, a new namespace, System.Runtime.ExceptionServices, has been introduced which comprises of the following classes in order to handle exceptions in a better and advanced manner:
a)HandleProcessCorruptedStateExceptionsAttribute Class - Allows managed code to handle the corrupted state exceptions which may occur in an operating system. Such type of the exceptions cannot be caught by using the try...catch block. In order to handle such exceptions, you can apply this attribute within the method which is assigned to handle such exceptions.
b)FirstChanceExceptionEventArgs Class – It generates an event when a managed exception first arises in your code, before the common language runtime begins searching for an event handlers.
Write down a feature that is common to all the .NET languages?
Can we enter more than single line in the TextBox control?
List some of the new controls which are introduced in the ASP.NET AJAX Control Toolkit?
By what way we can display a default value in a text box of the input box?
Differentiate between Web server controls and HTML?
What do you know about parameter and explain new types of the parameters introduced in the C# 4.0?
Briefly describe key-based dependency and file-based dependency?
Illustrate the basic difference between the PenLineCap's Flat and Square values?
What is Memory-Mapped Files?
Briefly explain round trip?
18,76,764
1945622 Asked
3,689
Active Tutors
1428332
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!