Share via


ServiceBusMessageBus Constructor

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.ServiceBus
Assembly:  Microsoft.AspNet.SignalR.ServiceBus (in Microsoft.AspNet.SignalR.ServiceBus.dll)

Syntax

'Declaration
Public Sub New ( _
    connectionString As String, _
    partitionCount As Integer, _
    nodeCount As Integer, _
    nodeId As Integer, _
    topicPrefix As String, _
    resolver As IDependencyResolver _
)
'Usage
Dim connectionString As String 
Dim partitionCount As Integer 
Dim nodeCount As Integer 
Dim nodeId As Integer 
Dim topicPrefix As String 
Dim resolver As IDependencyResolver 

Dim instance As New ServiceBusMessageBus(connectionString, _
    partitionCount, nodeCount, nodeId, _
    topicPrefix, resolver)
public ServiceBusMessageBus(
    string connectionString,
    int partitionCount,
    int nodeCount,
    int nodeId,
    string topicPrefix,
    IDependencyResolver resolver
)
public:
ServiceBusMessageBus(
    String^ connectionString, 
    int partitionCount, 
    int nodeCount, 
    int nodeId, 
    String^ topicPrefix, 
    IDependencyResolver^ resolver
)
new : 
        connectionString:string * 
        partitionCount:int * 
        nodeCount:int * 
        nodeId:int * 
        topicPrefix:string * 
        resolver:IDependencyResolver -> ServiceBusMessageBus
public function ServiceBusMessageBus(
    connectionString : String, 
    partitionCount : int, 
    nodeCount : int, 
    nodeId : int, 
    topicPrefix : String, 
    resolver : IDependencyResolver
)

Parameters

See Also

Reference

ServiceBusMessageBus Class

Microsoft.AspNet.SignalR.ServiceBus Namespace