Bewerken

Delen via


TransactionOptions.Timeout Property

Definition

Gets or sets the timeout period for the transaction.

public:
 property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Timeout { get; set; }
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan

Property Value

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

Remarks

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

Applies to