Share via


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
Public property ConnectionManager Gets the connection manager for this pool.
Public property Count Get the number of connections currently in the pool.
Public property HostName Gets the host name for this pool.
Public property MaximumNumberOfConnections Gets or sets the pool size. This indicates the maximum number of connections desired in the pool.
Public property Port Gets the remote port.
Public property ProtocolName Gets the protocol, TCP or TLS.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetConnections Gets the list of connections currently in this connection pool.
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString Converts to a string representation of the instance. (Overrides Object.ToString().)

Top

Events

  Name Description
Public event ConnectionAdded Raised when the connection is added to the pool.
Public event ConnectionRemoved Raised when the connection is removed from the pool.

Top

See Also

Reference

ConnectionPool Class

Microsoft.Rtc.Signaling Namespace