  | SocketOptionsSetKeepAlive Method  | 
  
    Namespace: 
   Hazelcast.Config
    Assembly:
   Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
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