ConnectionPool Members
Include Protected Members
Include Inherited Members
Represents a connection pool. Each pool is identified by a destination tuple that consists of the hostname, the listening port of that host, and the transport type (TCP or TLS). The pool consists of 0 or more connections at any time and can grow to a maximum number of connections set by the application. The connection pool only represents outgoing connections and is not used to represent incoming connections as they are not used for pooling.
The ConnectionPool type exposes the following members.
Properties
Name | Description | |
---|---|---|
ConnectionManager | Gets the connection manager for this pool. | |
Count | Get the number of connections currently in the pool. | |
HostName | Gets the host name for this pool. | |
MaximumNumberOfConnections | Gets or sets the pool size. This indicates the maximum number of connections desired in the pool. | |
Port | Gets the remote port. | |
ProtocolName | Gets the protocol, TCP or TLS. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetConnections | Gets the list of connections currently in this connection pool. | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
ToString | Converts to a string representation of the instance. (Overrides Object.ToString().) |
Top
Events
Name | Description | |
---|---|---|
ConnectionAdded | Raised when the connection is added to the pool. | |
ConnectionRemoved | Raised when the connection is removed from the pool. |
Top