LdapConnection.Dispose 方法

定义

关闭并选择性地释放 LDAP 句柄。

重载

名称 说明
Dispose()

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

Dispose(Boolean)

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

Dispose()

Source:
LdapConnection.cs
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
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 连接关闭而不释放句柄。

适用于