LdapSessionOptions.PingKeepAliveTimeout Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The PingKeepAliveTimeout property contains a TimeSpan object that specifies the minimum number of seconds the client waits, after the last response from the server, before sending a keep-alive ping.

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

public TimeSpan PingKeepAliveTimeout { get; set; }

Property Value

Type: System.TimeSpan

A TimeSpan object that specifies the minimum number of seconds the client waits, after the last response from the server, before sending a keep-alive ping.

Exception Condition
ObjectDisposedException

The LdapConnection object is already disposed.

ArgumentException

The specified time span is less than TimeSpan.Zero.

.NET Framework
Available since 2.0
Return to top
Show: