Export (0) Print
Expand All

CommittableTransaction.CommittableTransaction(TransactionOptions) Constructor

Initializes a new instance of the CommittableTransaction class with the specified transaction options.

Namespace: System.Transactions
Assembly: System.Transactions (in system.transactions.dll)

public CommittableTransaction (
	TransactionOptions options
)
public CommittableTransaction (
	TransactionOptions options
)
public function CommittableTransaction (
	options : TransactionOptions
)
Not applicable.

Parameters

options

A TransactionOptions structure that describes the transaction options to use for the new transaction.

Exception typeCondition

PlatformNotSupportedException

An attempt to create a transaction under Windows 98, Windows 98 Second Edition or Windows Millennium Edition.

ArgumentException

options is invalid.

The following sample creates a new instance of CommittableTransaction with options, and aborts it.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft