TransportDuplexSessionChannel 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class TransportDuplexSessionChannel abstract : System::ServiceModel::Channels::TransportOutputChannel, System::ServiceModel::Channels::ISessionChannel<System::ServiceModel::Channels::IAsyncDuplexSession ^>, System::ServiceModel::Channels::ISessionChannel<System::ServiceModel::Channels::IDuplexSession ^>
public abstract class TransportDuplexSessionChannel : System.ServiceModel.Channels.TransportOutputChannel, System.ServiceModel.Channels.ISessionChannel<System.ServiceModel.Channels.IAsyncDuplexSession>, System.ServiceModel.Channels.ISessionChannel<System.ServiceModel.Channels.IDuplexSession>
type TransportDuplexSessionChannel = class
inherit TransportOutputChannel
interface IDuplexSessionChannel
interface IDuplexChannel
interface IInputChannel
interface IChannel
interface ICommunicationObject
interface IOutputChannel
interface ISessionChannel<IDuplexSession>
interface IAsyncInputChannel
interface IAsyncCommunicationObject
interface IAsyncOutputChannel
interface ISessionChannel<IAsyncDuplexSession>
Public MustInherit Class TransportDuplexSessionChannel
Inherits TransportOutputChannel
Implements ISessionChannel(Of IAsyncDuplexSession), ISessionChannel(Of IDuplexSession)
- 继承
-
TransportDuplexSessionChannel
- 实现
-
IAsyncInputChannel IAsyncOutputChannel IChannel IDuplexChannel IDuplexSessionChannel IInputChannel IOutputChannel ISessionChannel<System.ServiceModel.Channels.IAsyncDuplexSession> ISessionChannel<IDuplexSession> IAsyncCommunicationObject ICommunicationObject
构造函数
TransportDuplexSessionChannel(ChannelManagerBase, ITransportFactorySettings, EndpointAddress, Uri, EndpointAddress, Uri) |
属性
BufferManager | |
DefaultCloseTimeout |
获取为完成关闭操作提供的默认时间间隔。 (继承自 ChannelBase) |
DefaultOpenTimeout |
获取为完成打开操作提供的默认时间间隔。 (继承自 ChannelBase) |
DefaultReceiveTimeout |
获取为完成接收操作提供的默认时间间隔。 (继承自 ChannelBase) |
DefaultSendTimeout |
获取为完成发送操作提供的默认时间间隔。 (继承自 ChannelBase) |
EventTraceActivity | (继承自 TransportOutputChannel) |
IsDisposed |
获取一个值,该值指示通信对象是否已被释放。 (继承自 CommunicationObject) |
IsStreamedOutput | |
LocalAddress | |
Manager |
获取与当前通道关联的通道管理器。 (继承自 ChannelBase) |
ManualAddressing | (继承自 TransportOutputChannel) |
MessageEncoder | |
MessageVersion | (继承自 TransportOutputChannel) |
RemoteAddress | (继承自 TransportOutputChannel) |
RemoteSecurity | |
SendLock | |
Session | |
State |
获取指示通信对象当前状态的值。 (继承自 CommunicationObject) |
ThisLock |
获取在状态转换过程中保护类实例的相互排斥锁。 (继承自 CommunicationObject) |
Via | (继承自 TransportOutputChannel) |
方法
事件
Closed |
当通信对象转换到已关闭状态时发生。 (继承自 CommunicationObject) |
Closing |
当通信对象转换到正在关闭状态时发生。 (继承自 CommunicationObject) |
Faulted |
在通信对象转换到出错状态时发生。 (继承自 CommunicationObject) |
Opened |
当通信对象转换到已打开状态时发生。 (继承自 CommunicationObject) |
Opening |
当通信对象转换到正在打开状态时发生。 (继承自 CommunicationObject) |
显式接口实现
IAsyncCommunicationObject.CloseAsync(TimeSpan) | (继承自 CommunicationObject) |
IAsyncCommunicationObject.OpenAsync(TimeSpan) | (继承自 CommunicationObject) |
IDefaultCommunicationTimeouts.CloseTimeout |
获取 close 方法(由通信对象调用)在超时之前的时间间隔。 (继承自 ChannelBase) |
IDefaultCommunicationTimeouts.OpenTimeout |
获取 open 方法(由通信对象调用)在超时之前的时间间隔。 (继承自 ChannelBase) |
IDefaultCommunicationTimeouts.ReceiveTimeout |
获取 receive 方法(由通信对象调用)在超时之前的时间间隔。 (继承自 ChannelBase) |
IDefaultCommunicationTimeouts.SendTimeout |
获取 send 方法(由通信对象调用)在超时之前的时间间隔。 (继承自 ChannelBase) |
ISessionChannel<IAsyncDuplexSession>.Session |
扩展方法
CloseHelperAsync(ICommunicationObject, TimeSpan) | |
OpenHelperAsync(ICommunicationObject, TimeSpan) | |
GetInternalCloseTimeout(CommunicationObject) |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈