Class ServerEndPoint
Defines an endpoint.
Inherited Members
Namespace:CacheManager.Redis
Assembly:CacheManager.StackExchange.Redis.dll
Syntax
public sealed class ServerEndPoint
Constructors
| Improve this Doc View SourceServerEndPoint()
Initializes a new instance of the ServerEndPoint class.
Declaration
public ServerEndPoint()
ServerEndPoint(String, Int32)
Initializes a new instance of the ServerEndPoint class.
Declaration
public ServerEndPoint(string host, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| String | host | The host. |
| Int32 | port | The port. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If host is null. |
Properties
| Improve this Doc View SourceHost
Gets or sets the host.
Declaration
public string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| String | The host. |
Port
Gets or sets the port.
Declaration
public int Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 | The port. |