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 |
Why do I get error message "could not load type" whenever I browse to my asp.net web site?
Describe the difference between inline and code behind - which is best in a?
Where would you use an ihttpmodule, and what are the limitations if any?
how can u create the blog in asp.net with C#?what is the data type u will use to store in sql server?
Explain how asp.net page works?
About writting a query and SP which is better ?
What are runtime hosts?
what is stateless ?
About Garbage Collector?
What is Difference between Callbacks and Postback in ASP.NET?
why we should use more than one web.config files in our application? I have two web.config files in my application. One in the root directory and another one inside a sub folder. When the application runs which web.config file will run? why?
How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)