LdapConnection.Dispose 方法

定义

关闭并释放(可选)LDAP 句柄。

重载

Dispose()

Dispose() 方法关闭并释放 LDAP 句柄。

Dispose(Boolean)

Dispose(Boolean) 方法关闭连接,并可选择释放 LDAP 句柄。

Dispose()

Source:
LdapConnection.cs
Source:
LdapConnection.cs
Source:
LdapConnection.cs

Dispose() 方法关闭并释放 LDAP 句柄。

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

实现

适用于

Dispose(Boolean)

Source:
LdapConnection.cs
Source:
LdapConnection.cs
Source:
LdapConnection.cs

Dispose(Boolean) 方法关闭连接,并可选择释放 LDAP 句柄。

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

参数

disposing
Boolean

如果关闭连接后释放句柄,则为 true;如果关闭连接后不释放句柄,则为 false

适用于