LdapSessionOptions.PingLimit Property

 

The PingLimit property contains the number of unanswered pings that the client sends before closing a connection.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public int PingLimit { get; set; }

Property Value

Type: System.Int32

The number of unanswered pings that the client sends before closing a connection.

Exception Condition
ObjectDisposedException

The LdapConnection object is already disposed.

ArgumentException

The specified value is less than zero.

.NET Framework
Available since 2.0
Return to top
Show: