RedisScaleoutConfiguration Constructor (String, Int32, String, String)
.NET Framework 4.5
Initializes a new instance of the RedisScaleoutConfiguration class.
Namespace: Microsoft.AspNet.SignalR
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, _
eventKey As String _
)
'Usage
Dim server As String
Dim port As Integer
Dim password As String
Dim eventKey As String
Dim instance As New RedisScaleoutConfiguration(server, _
port, password, eventKey)
public RedisScaleoutConfiguration(
string server,
int port,
string password,
string eventKey
)
public:
RedisScaleoutConfiguration(
String^ server,
int port,
String^ password,
String^ eventKey
)
new :
server:string *
port:int *
password:string *
eventKey:string -> RedisScaleoutConfiguration
public function RedisScaleoutConfiguration(
server : String,
port : int,
password : String,
eventKey : String
)
Parameters
- server
Type: System.String
The server.
- port
Type: System.Int32
The port.
- password
Type: System.String
The password.
- eventKey
Type: System.String
The event key.
See Also
Reference
RedisScaleoutConfiguration Class