Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property bool TransactionAutoCompleteOnSessionClose {
	bool get();
	void set(bool value);
}

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
Show:
© 2017 Microsoft