ServiceBehaviorAttribute.TransactionAutoCompleteOnSessionClose 属性

定义

获取或设置一个值,该值指定当前会话正常关闭时是否完成挂起事务。

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

属性值

Boolean

如果当前会话正常关闭时完成挂起事务,则为 true;否则为 false。 默认值为 false

适用于