WSHttpBindingBase.ReliableSession WSHttpBindingBase.ReliableSession WSHttpBindingBase.ReliableSession WSHttpBindingBase.ReliableSession Property

Definition

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.

public:
 property System::ServiceModel::OptionalReliableSession ^ ReliableSession { System::ServiceModel::OptionalReliableSession ^ get(); void set(System::ServiceModel::OptionalReliableSession ^ value); };
public System.ServiceModel.OptionalReliableSession ReliableSession { get; set; }
member this.ReliableSession : System.ServiceModel.OptionalReliableSession with get, set
Public Property ReliableSession As OptionalReliableSession

Property Value

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.

Examples

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

OptionalReliableSession reliableSession =
binding1.ReliableSession;
Dim reliableSession As OptionalReliableSession = binding1.ReliableSession

Remarks

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

Applies to