TransactionAutoCompleteOnSessionClose Property

DispatchRuntime.TransactionAutoCompleteOnSessionClose Property


Gets or sets a value that specifies whether to automatically complete the current transaction when the session closes.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool TransactionAutoCompleteOnSessionClose { get; set; }

Property Value

Type: System.Boolean

true if transactions automatically complete when the session closes; otherwise, false. The default is the value specified by TransactionAutoCompleteOnSessionClose.

If TransactionAutoCompleteOnSessionClose is true and there is an active transaction, the transaction is completed when the session closes. If TransactionAutoCompleteOnSessionClose is false, active transactions are not completed and are eventually aborted.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft