Partilhar via


What Are Transactions for the Order Processing Pipeline?

A transaction is a series of operations performed as a single unit. In case of an error, the operations in a transaction can be undone. In the ASP.NET environment, transactions occur on a per-page level. To mark an ASP.NET page as one that requires a transaction, you include the following script at the top of the ASP.NET page:

<%@ Page language="c#"  Transaction="Required" %>

When you mark an ASP.NET page as transacted, the objects created on the page and the work those objects perform become part of the transaction, provided the objects are registered on the server as components supporting transactions. In the event of an error, the work performed by those objects can be rolled back.

In This Section