WSHttpBindingBase.ReliableSession Property

 

Gets an object that provides convenient access to the properties of a reliable session binding element that are available when using one of the system-provided bindings.

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

public OptionalReliableSession ReliableSession { get; set; }

Property Value

Type: System.ServiceModel.OptionalReliableSession

The ReliableSession that provides convenient access to the properties of a reliable session binding element that are available when using one of the system-provided bindings.

Reliable sessions are enabled with the WSHttpBindingBase(Boolean) constructor.

This example shows how to get the properties of a reliable session binding.

   OptionalReliableSession reliableSession =
binding1.ReliableSession;

.NET Framework
Available since 3.0
Return to top
Show: