Share via


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>)

適用於