編輯

共用方式為


ServiceBehaviorAttribute.TransactionAutoCompleteOnSessionClose Property

Definition

Gets or sets a value that specifies whether pending transactions are completed when the current session closes without error.

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

Property Value

true if pending transactions are to be completed when the current session closes without error; otherwise, false. The default is false.

Applies to