ServiceBusScaleoutConfiguration.TopicCount Property
.NET Framework 4.5
Gets or sets the number of topics to send messages over. Defaults to 1.
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.ServiceBus (in Microsoft.AspNet.SignalR.ServiceBus.dll)
Syntax
'Declaration
Public Property TopicCount As Integer
Get
Set
'Usage
Dim instance As ServiceBusScaleoutConfiguration
Dim value As Integer
value = instance.TopicCount
instance.TopicCount = value
public int TopicCount { get; set; }
public:
property int TopicCount {
int get ();
void set (int value);
}
member TopicCount : int with get, set
function get TopicCount () : int
function set TopicCount (value : int)
Property Value
Type: System.Int32
The number of topics to send messages over.
Remarks
Using more topics reduces contention and may increase throughput. This must be consistent between all nodes in the web farm.