ConnectionPool 类

定义

public ref class ConnectionPool abstract : System::ServiceModel::Channels::IdlingCommunicationPool<System::String ^, System::ServiceModel::Channels::IConnection ^>
public abstract class ConnectionPool : System.ServiceModel.Channels.IdlingCommunicationPool<string,System.ServiceModel.Channels.IConnection>
type ConnectionPool = class
    inherit IdlingCommunicationPool<string, IConnection>
Public MustInherit Class ConnectionPool
Inherits IdlingCommunicationPool(Of String, IConnection)
继承

构造函数

ConnectionPool(IConnectionOrientedTransportChannelFactorySettings, TimeSpan)

属性

IdleTimeout (继承自 IdlingCommunicationPool<TKey,TItem>)
LeaseTimeout (继承自 IdlingCommunicationPool<TKey,TItem>)
MaxIdleConnectionPoolCount (继承自 CommunicationPool<TKey,TItem>)
Name
ThisLock (继承自 CommunicationPool<TKey,TItem>)

方法

AbortItem(IConnection)
AbortItem(TItem) (继承自 CommunicationPool<TKey,TItem>)
AddConnection(TKey, TItem, TimeSpan) (继承自 CommunicationPool<TKey,TItem>)
Close(TimeSpan) (继承自 CommunicationPool<TKey,TItem>)
CloseItem(IConnection, TimeSpan)
CloseItem(TItem, TimeSpan) (继承自 CommunicationPool<TKey,TItem>)
CloseItemAsync(IConnection, TimeSpan)
CloseItemAsync(TItem, TimeSpan) (继承自 IdlingCommunicationPool<TKey,TItem>)
CreateEndpointConnectionPool(TKey) (继承自 IdlingCommunicationPool<TKey,TItem>)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetPoolKey(EndpointAddress, Uri) (继承自 CommunicationPool<TKey,TItem>)
GetType()

获取当前实例的 Type

(继承自 Object)
IsCompatible(IConnectionOrientedTransportChannelFactorySettings)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
OnClosed() (继承自 CommunicationPool<TKey,TItem>)
ReturnConnection(TKey, TItem, Boolean, TimeSpan) (继承自 CommunicationPool<TKey,TItem>)
TakeConnection(EndpointAddress, Uri, TimeSpan, TKey) (继承自 CommunicationPool<TKey,TItem>)
ToString()

返回表示当前对象的字符串。

(继承自 Object)
TryOpen() (继承自 CommunicationPool<TKey,TItem>)

适用于