Share via


RefCount Property

Gets the current reference count.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public ReadOnly Property RefCount As Integer
    Get
'Usage
Dim instance As RealTimeConnection
Dim value As Integer

value = instance.RefCount
public int RefCount { get; }

Property Value

Type: System..::..Int32
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.

See Also

Reference

RealTimeConnection Class

RealTimeConnection Members

Microsoft.Rtc.Signaling Namespace