CommittableTransaction Constructor (TimeSpan)
Collapse the table of content
Expand the table of content

CommittableTransaction Constructor (TimeSpan)


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


Type: System.TimeSpan

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

Exception Condition

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

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft