Share via


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

注解

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

适用于