Editar

Partilhar via


WSDualHttpBinding.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::ReliableSession ^ ReliableSession { System::ServiceModel::ReliableSession ^ get(); };
public:
 property System::ServiceModel::ReliableSession ^ ReliableSession { System::ServiceModel::ReliableSession ^ get(); void set(System::ServiceModel::ReliableSession ^ value); };
public System.ServiceModel.ReliableSession ReliableSession { get; }
public System.ServiceModel.ReliableSession ReliableSession { get; set; }
member this.ReliableSession : System.ServiceModel.ReliableSession
member this.ReliableSession : System.ServiceModel.ReliableSession with get, set
Public ReadOnly Property ReliableSession As ReliableSession
Public Property ReliableSession As ReliableSession

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

The following example shows how to get the ReliableSession property.

ReliableSession reliableSession =
    binding.ReliableSession;
Dim reliableSession As ReliableSession = binding.ReliableSession

Remarks

The reliable session is required for service configured with a WSDualHttpBinding.

Applies to