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