Syntax

PublicReadOnlyPropertyRefCountAsInteger

publicintRefCount { get; }

Property Value

An int containing the current reference count.

Remarks

RefCount indicates the number of components
(page mode message, signaling session, subscription etc.) across
endpoints that are currently caching and using this connection. The
reference count is used only for outgoing shared connections in a
pool.

Thread Safety

All public static (Shared in Visual
Basic) members of this type are thread-safe. Instance members are
not guaranteed to be thread-safe.