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::ReleaseServiceInstanceOnTransactionComplete Property

 

Gets or sets a value that specifies whether the service object is recycled after the transaction successfully completes.

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

public:
property bool ReleaseServiceInstanceOnTransactionComplete {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the service object is recycled after the transaction successfully completes; otherwise, false. The default value is the value of ReleaseServiceInstanceOnTransactionComplete.

Use the ReleaseServiceInstanceOnTransactionComplete to specify that the ReleaseServiceInstance method is called when the transaction successfully completes.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft