What are the page level transaction and class level
transaction?



What are the page level transaction and class level transaction?..

Answer / madhavi

transaction support allows pages to participate in ongoing
Microsoft .NET Framework transactions. Transaction support
is exposed via an @Transaction directive that indicates the
desired level of support: Required, RequiresNew, Supported,
NotSupported, Disabled.
The Transaction attribute is applied at the class level too
to indicate that all class methods should be run in the
context of a transaction. If an unhandled exception is
thrown during the execution of a class method, the
transaction is aborted. Otherwise, the transaction is committed.
we can set the page level transaction by
<@page transaction='"required">
using System.EnterpriseServices;
[Transaction]
public class TransactionAttribute_Cl : ServicedComponent
{
}

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

Caching techniques in .NET ?

1 Answers   Microsoft,


What is gacutil.exe? Where do we store assemblies, Should sn.exe be used before gacutil.exe?

2 Answers   Accenture, Aptech,


Where sessions are stored in asp.net?

0 Answers  


How do u deploy ur project?

0 Answers   HCL, Microsoft,


What are the properties of the eventargs argument when capturing keyboard events?

0 Answers  


What is view state management in asp net?

0 Answers  


What are the features of asp net?

0 Answers  


What does the "EnableViewState" property do? Why would I want it on or off?

3 Answers  


How many types cache in asp net?

0 Answers  


What is asp net objects?

0 Answers  


what is postback implementation?when pre-render event n init event is fired?

2 Answers   Ness Technologies,


What is the maximum number of classes that can be contained in one dll file?

0 Answers  


Categories