LdapSessionOptions.PingWaitTimeout 属性
定义
PingWaitTimeout 属性包含 TimeSpan 对象,该对象指定客户端在发送 ping 命令之后等待响应返回的毫秒数。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.
public:
property TimeSpan PingWaitTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan PingWaitTimeout { get; set; }
member this.PingWaitTimeout : TimeSpan with get, set
Public Property PingWaitTimeout As TimeSpan
属性值
一个 TimeSpan 对象,该对象指定客户端在发送 ping 命令之后等待响应返回的毫秒数。A TimeSpan object that specifies the number of milliseconds that the client waits for the response to come back after sending a ping.
例外
已释放 LdapConnection 对象。The LdapConnection object is already disposed.