DirectoryServer.Dispose 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
释放对象使用的资源。
重载
| 名称 | 说明 |
|---|---|
| Dispose() |
释放对象使用的所有托管和非托管资源。 |
| Dispose(Boolean) |
释放所有非托管资源,还可以选择释放对象使用的所有托管资源。 |
Dispose()
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
释放对象使用的所有托管和非托管资源。
public:
virtual void Dispose();
public void Dispose();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
实现
适用于
Dispose(Boolean)
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
- Source:
- DirectoryServer.cs
释放所有非托管资源,还可以选择释放对象使用的所有托管资源。
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 如果未释放托管资源,
注解
该 disposing 参数仅影响托管资源的释放。 非托管资源始终由此方法发布。