Export (0) Print
Expand All

LdapSessionOptions.PingWaitTimeout Property

The PingWaitTimeout property contains a TimeSpan object that specifies the number of milliseconds that the client waits for the response to come back after sending a ping.

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

public TimeSpan PingWaitTimeout { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan object that specifies the number of milliseconds that the client waits for the response to come back after sending a ping.

ExceptionCondition
ObjectDisposedException

The LdapConnection object is already disposed.

ArgumentException

The specified time span is less than TimeSpan.Zero.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft