共用方式為


WSDualHttpBinding.ReliableSession 屬性

定義

取得物件,這個物件可方便您存取可靠工作階段繫結項目的屬性,只要使用其中一個系統提供的繫結,就可以使用這些屬性。

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

屬性值

ReliableSession,可方便您存取可靠工作階段繫結項目的屬性,只要使用其中一個系統提供的繫結,就可以使用這些屬性。

範例

下列範例會示範如何取得 ReliableSession 屬性。

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

備註

以 設定的服務需要可靠的工作階段。

適用於