AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

TcpKeepAlive class used to group all the different properties used for working with TCP keep-alives.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.TcpKeepAlive

Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public class TcpKeepAlive

The TcpKeepAlive type exposes the following members

Constructors

NameDescription
Public Method TcpKeepAlive()

Properties

NameTypeDescription
Public Property Enabled System.Boolean

Specifies if TCP keep-alive is enabled or disabled. The default value is false for all services except Lambda.

Public Property Interval System.Nullable<System.TimeSpan>

The interval before retrying a TCP keep-alive packet that did not receive an acknowledgement. The interval must be greater than 0 seconds and not null if Enabled is set to true. The default value is 15 seconds.

Public Property Timeout System.Nullable<System.TimeSpan>

The timeout before a TCP keep-alive packet will be sent. The timeout value must be greater than 0 seconds and not null if Enabled is set to true. The default value is 5 minutes.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5