TcpConnectionPoolSettings 類別

定義

表示可控制 TCP 連線集區之行為的屬性。Represents properties that control the behavior of the TCP connection pool.

public ref class TcpConnectionPoolSettings sealed
public sealed class TcpConnectionPoolSettings
type TcpConnectionPoolSettings = class
Public NotInheritable Class TcpConnectionPoolSettings
繼承
TcpConnectionPoolSettings

屬性

GroupName

取得或設定用戶端上此連線集區群組的群組名稱。Gets or sets the group name of the connection pool group on the client.

IdleTimeout

取得或設定在中斷連線之前,連線在連線集區中可處於閒置狀態的最大時間。Gets or sets the maximum time the connection can be idle in the connection pool before being disconnected.

LeaseTimeout

取得或設定關閉連線集區中的連線之前的時間範圍。Gets or sets the time span after which a connection in the connection pool is closed.

MaxOutboundConnectionsPerEndpoint

取得或設定在連線集區內快取之每一個端點的傳出連線數目上限。Gets or sets the maximum number of outbound connections for each endpoint that is cached in the connection pool.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於