ActiveDirectorySubnet.Dispose 方法

定义

释放由 ActiveDirectorySubnet 对象使用的所有资源。

重载

Dispose()

释放由 ActiveDirectorySubnet 对象使用的所有资源。

Dispose(Boolean)

释放由 ActiveDirectorySubnet 对象占用的非托管资源,还可以选择释放托管资源。

Dispose()

Source:
ActiveDirectorySubnet.cs
Source:
ActiveDirectorySubnet.cs
Source:
ActiveDirectorySubnet.cs

释放由 ActiveDirectorySubnet 对象使用的所有资源。

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

实现

适用于

Dispose(Boolean)

Source:
ActiveDirectorySubnet.cs
Source:
ActiveDirectorySubnet.cs
Source:
ActiveDirectorySubnet.cs

释放由 ActiveDirectorySubnet 对象占用的非托管资源,还可以选择释放托管资源。

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

适用于