Redigera

Dela via


ContextUtil.Transaction Property

Definition

Gets an object describing the current COM+ DTC transaction.

public:
 static property System::Object ^ Transaction { System::Object ^ get(); };
public static object Transaction { get; }
static member Transaction : obj
Public Shared ReadOnly Property Transaction As Object

Property Value

An object that represents the current transaction.

Exceptions

There is no COM+ context available.

Remarks

The returned object supports the ITransaction interface if the transaction is a COM+ DTC transaction.

Applies to