WSDualHttpBinding.ReliableSession Egenskap

Definition

Hämtar ett objekt som ger bekväm åtkomst till egenskaperna för ett tillförlitligt sessionsbindningselement som är tillgängligt när du använder en av bindningarna som tillhandahålls av systemet.

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

Egenskapsvärde

Det ReliableSession som ger praktisk åtkomst till egenskaperna för ett tillförlitligt sessionsbindningselement som är tillgängligt när du använder en av de systembaserade bindningarna.

Exempel

I följande exempel visas hur du hämtar egenskapen ReliableSession .

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

Kommentarer

Den tillförlitliga sessionen krävs för en tjänst som konfigurerats med en WSDualHttpBinding.

Gäller för