NetTcpBinding.ReliableSession Property

 

Gets an object that indicates whether a reliable session is established between channel endpoints.

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

public OptionalReliableSession ReliableSession { get; set; }

Property Value

Type: System.ServiceModel.OptionalReliableSession

An OptionalReliableSession that indicates whether a WS-RM reliable session is established between channel endpoints. The default value for Enabled is false.

This example shows how to get the ReliableSession value.

OptionalReliableSession reliableSession =
 binding.ReliableSession;

.NET Framework
Available since 3.0
Return to top
Show: