CallbackBehaviorAttribute.TransactionTimeout 属性

定义

获取或设置事务必须在其内完成的时间段。

public:
 property System::String ^ TransactionTimeout { System::String ^ get(); void set(System::String ^ value); };
public string TransactionTimeout { get; set; }
member this.TransactionTimeout : string with get, set
Public Property TransactionTimeout As String

属性值

一个 TimeSpan 对象,表示事务必须完成或自动中止的时间。 默认值为 Zero

注解

此值通常在应用程序配置文件中设置。

适用于