ActiveDirectoryPartition.Dispose Método

Definición

Libera los recursos que mantiene el objeto.Releases the resources that are held by the object.

Sobrecargas

Dispose()

Libera todos los recursos administrados y no administrados que contiene el objeto.Releases all managed and unmanaged resources that are held by the object.

Dispose(Boolean)

Libera los recursos administrados que utiliza el objeto y, de forma opcional, libera los recursos no administrados.Releases the managed resources that are used by the object and, optionally, releases unmanaged resources.

Dispose()

Libera todos los recursos administrados y no administrados que contiene el objeto.Releases all managed and unmanaged resources that are held by the object.

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

Implementaciones

Dispose(Boolean)

Libera los recursos administrados que utiliza el objeto y, de forma opcional, libera los recursos no administrados.Releases the managed resources that are used by the object and, optionally, releases unmanaged resources.

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)

Parámetros

disposing
Boolean

Valor Boolean que determina si se deben liberar los recursos administrados.A Boolean value that determines if the managed resources should be released. Es true si se liberan los recursos administrados; es false si solo se liberan los recursos no administrados.true if the managed resources are released; false if only the unmanaged resources are released.

Comentarios

El disposing parámetro solo afecta a la liberación de los recursos administrados.The disposing parameter only affects the release of the managed resources. Este método siempre libera los recursos no administrados.The unmanaged resources are always released by this method.

Se aplica a