Επεξεργασία

Κοινή χρήση μέσω


ContextUtil.SystemTransaction Property

Definition

Gets the current transaction context.

public:
 static property System::Transactions::Transaction ^ SystemTransaction { System::Transactions::Transaction ^ get(); };
public static System.Transactions.Transaction SystemTransaction { get; }
static member SystemTransaction : System.Transactions.Transaction
Public Shared ReadOnly Property SystemTransaction As Transaction

Property Value

A Transaction that represents the current transaction context.

Exceptions

There is no COM+ context available.

Remarks

If no transaction context exists when this property is accessed, a new transaction context is created and returned.

Applies to