![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | SocketOptionsSetKeepAlive Method |
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic virtual SocketOptions SetKeepAlive(
bool keepAlive
)
Public Overridable Function SetKeepAlive (
keepAlive As Boolean
) As SocketOptions
public:
virtual SocketOptions^ SetKeepAlive(
bool keepAlive
)
abstract SetKeepAlive :
keepAlive : bool -> SocketOptions
override SetKeepAlive :
keepAlive : bool -> SocketOptions
Parameters
- keepAlive
- Type: SystemBoolean
Return Value
Type:
SocketOptions
See Also