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 bool ReleaseServiceInstanceOnTransactionComplete { get; set; }

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: