IReplySessionChannel 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義介面,以將回復通道與會話產生關聯。
public interface class IReplySessionChannel : System::ServiceModel::Channels::IReplyChannel, System::ServiceModel::Channels::ISessionChannel<System::ServiceModel::Channels::IInputSession ^>
public interface IReplySessionChannel : System.ServiceModel.Channels.IReplyChannel, System.ServiceModel.Channels.ISessionChannel<System.ServiceModel.Channels.IInputSession>
type IReplySessionChannel = interface
interface IReplyChannel
interface IChannel
interface ICommunicationObject
interface ISessionChannel<IInputSession>
Public Interface IReplySessionChannel
Implements IReplyChannel, ISessionChannel(Of IInputSession)
- 實作
備註
Important
使用不受信任的資料呼叫實作此介面的類別的方法存在安全風險。 呼叫這些方法,從實作此介面的類別中呼叫,僅使用受信任的資料。 如需詳細資訊,請參閱 驗證所有輸入。
介面 IReplySessionChannel 表示 a IReplyChannel 實 IInputSession 作語意。
IInputSession其關聯IReplySessionChannel碼可透過該Session屬性取得。
屬性
| 名稱 | Description |
|---|---|
| LocalAddress |
取得此回覆通道接收訊息的位址。 (繼承來源 IReplyChannel) |
| Session |
會取得與此頻道相關的會話類型。 (繼承來源 ISessionChannel<TSession>) |
| State |
取得通訊導向物件的目前狀態。 (繼承來源 ICommunicationObject) |
方法
事件
| 名稱 | Description |
|---|---|
| Closed |
當通訊物件完成從關閉狀態轉換成關閉狀態時發生。 (繼承來源 ICommunicationObject) |
| Closing |
當通訊物件第一次進入關閉狀態時發生。 (繼承來源 ICommunicationObject) |
| Faulted |
當通訊物件第一次進入錯誤狀態時發生。 (繼承來源 ICommunicationObject) |
| Opened |
當通訊物件完成從開啟狀態轉換成開啟狀態時發生。 (繼承來源 ICommunicationObject) |
| Opening |
當通訊物件第一次進入開啟狀態時發生。 (繼承來源 ICommunicationObject) |