Share via


RedisMessageBus Constructor

.NET Framework 4

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

Syntax

'Declaration
Public Sub New ( _
    server As String, _
    port As Integer, _
    password As String, _
    db As Integer, _
    keys As IEnumerable(Of String), _
    resolver As IDependencyResolver _
)
'Usage
Dim server As String 
Dim port As Integer 
Dim password As String 
Dim db As Integer 
Dim keys As IEnumerable(Of String)
Dim resolver As IDependencyResolver 

Dim instance As New RedisMessageBus(server, _
    port, password, db, keys, resolver)
public RedisMessageBus(
    string server,
    int port,
    string password,
    int db,
    IEnumerable<string> keys,
    IDependencyResolver resolver
)
public:
RedisMessageBus(
    String^ server, 
    int port, 
    String^ password, 
    int db, 
    IEnumerable<String^>^ keys, 
    IDependencyResolver^ resolver
)
new : 
        server:string * 
        port:int * 
        password:string * 
        db:int * 
        keys:IEnumerable<string> * 
        resolver:IDependencyResolver -> RedisMessageBus
public function RedisMessageBus(
    server : String, 
    port : int, 
    password : String, 
    db : int, 
    keys : IEnumerable<String>, 
    resolver : IDependencyResolver
)

Parameters

See Also

Reference

RedisMessageBus Class

Microsoft.AspNet.SignalR.Redis Namespace