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.
Name some methods, available in .NET 4.0, which are used to delete and add items from the ListBox control?
Illustrate the term lazy initialization?
State the reason why workflows are based on the Extensible Models.
What is meant by Manifest?
How rows can be added or deleted from the DataTable object of DataSet?
Explain the Code Contracts?
Name the tool that can transform Visual basic old version to the .NET compatibility version?
Differentiate between the ASP.NET session and a ASP session?
How we can decide whether we should deploy application or publish application?
Write the use of MaxDate and MinDate properties of a MonthCalender control?
18,76,764
1940845 Asked
3,689
Active Tutors
1427376
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!