TransactionOptions.Timeout Property

Gets or sets the timeout period for the transaction.

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

public TimeSpan Timeout { get; set; }
/** @property */
public TimeSpan get_Timeout ()

/** @property */
public void set_Timeout (TimeSpan value)

public function get Timeout () : TimeSpan

public function set Timeout (value : TimeSpan)

Not applicable.

Property Value

A TimeSpan value that specifies the timeout period for the transaction.

This property contains the maximum amount of time that the scope can be in existence, before it aborts the transaction.

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: