TopicMessageBus 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, _
prefix As String, _
onReceivedAsync As Func(Of String, ULong, Message(), Task) _
)
'Usage
Dim connectionString As String
Dim partitionCount As Integer
Dim nodeCount As Integer
Dim nodeId As Integer
Dim prefix As String
Dim onReceivedAsync As Func(Of String, ULong, Message(), Task)
Dim instance As New TopicMessageBus(connectionString, _
partitionCount, nodeCount, nodeId, _
prefix, onReceivedAsync)
public TopicMessageBus(
string connectionString,
int partitionCount,
int nodeCount,
int nodeId,
string prefix,
Func<string, ulong, Message[], Task> onReceivedAsync
)
public:
TopicMessageBus(
String^ connectionString,
int partitionCount,
int nodeCount,
int nodeId,
String^ prefix,
Func<String^, unsigned long long, array<Message^>^, Task^>^ onReceivedAsync
)
new :
connectionString:string *
partitionCount:int *
nodeCount:int *
nodeId:int *
prefix:string *
onReceivedAsync:Func<string, uint64, Message[], Task> -> TopicMessageBus
public function TopicMessageBus(
connectionString : String,
partitionCount : int,
nodeCount : int,
nodeId : int,
prefix : String,
onReceivedAsync : Func<String, ulong, Message[], Task>
)
Parameters
- connectionString
Type: System.String
- partitionCount
Type: System.Int32
- nodeCount
Type: System.Int32
- nodeId
Type: System.Int32
- prefix
Type: System.String
- onReceivedAsync
Type: System.Func<String, UInt64, Message[], Task>