IInputSessionChannel 接口
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义将输入通道与会话进行关联的接口。
public interface class IInputSessionChannel : System::ServiceModel::Channels::IInputChannel, System::ServiceModel::Channels::ISessionChannel<System::ServiceModel::Channels::IInputSession ^>
C#
public interface IInputSessionChannel : System.ServiceModel.Channels.IInputChannel, System.ServiceModel.Channels.ISessionChannel<System.ServiceModel.Channels.IInputSession>
type IInputSessionChannel = interface
interface IInputChannel
interface IChannel
interface ISessionChannel<IInputSession>
interface ICommunicationObject
type IInputSessionChannel = interface
interface IChannel
interface ICommunicationObject
interface IInputChannel
interface ISessionChannel<IInputSession>
type IInputSessionChannel = interface
interface IInputChannel
interface IChannel
interface ICommunicationObject
interface ISessionChannel<IInputSession>
Public Interface IInputSessionChannel
Implements IInputChannel, ISessionChannel(Of IInputSession)
- 实现
重要
使用不受信任的数据从实现此接口的类中调用方法存在安全风险。 仅使用受信任的数据从实现此接口的类中调用方法。 有关详细信息,请参阅 验证所有输入。
IInputSessionChannel 接口指示 IInputChannel 实现 IInputSession 语义。
与 IInputSession 相关联的 IInputSessionChannel 可通过 Session 属性进行检索。
Local |
获取输入通道接收消息的地址。 (继承自 IInputChannel) |
Session |
获取与此通道关联的会话类型。 (继承自 ISessionChannel<TSession>) |
State |
获取面向通信的对象的当前状态。 (继承自 ICommunicationObject) |
Closed |
当通信对象完成从正在关闭状态转换到已关闭状态时发生。 (继承自 ICommunicationObject) |
Closing |
当通信对象首次进入正在关闭状态时发生。 (继承自 ICommunicationObject) |
Faulted |
当通信对象首次进入出错状态时发生。 (继承自 ICommunicationObject) |
Opened |
当通信对象完成从正在打开状态转换到已打开状态时发生。 (继承自 ICommunicationObject) |
Opening |
当通信对象首次进入正在打开状态时发生。 (继承自 ICommunicationObject) |
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |