Export (0) Print
Expand All

CommittableTransaction.CommittableTransaction(TimeSpan) Constructor

Initializes a new instance of the CommittableTransaction class with the specified timeout value.

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

public CommittableTransaction (
	TimeSpan timeout
public CommittableTransaction (
	TimeSpan timeout
public function CommittableTransaction (
	timeout : TimeSpan
Not applicable.



The maximum amount of time the transaction can exist, before it is aborted.

Exception typeCondition


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

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

© 2015 Microsoft