ProviderMetadata.Dispose Método

Definição

Libera os recursos usados por este objeto.Releases the resources used by this object.

Sobrecargas

Dispose()

Libera todos os recursos usados por este objeto.Releases all the resources used by this object.

Dispose(Boolean)

Libera os recursos não gerenciados usados por este objeto e, opcionalmente, libera os recursos gerados.Releases the unmanaged resources used by this object, and optionally releases the managed resources.

Dispose()

Libera todos os recursos usados por este objeto.Releases all the resources used by this object.

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

Implementações

Aplica-se a

Dispose(Boolean)

Libera os recursos não gerenciados usados por este objeto e, opcionalmente, libera os recursos gerados.Releases the unmanaged resources used by this object, and optionally releases the managed resources.

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parâmetros

disposing
Boolean

true para liberar recursos gerenciados e não gerenciados; false para liberar apenas recursos não gerenciados.true to release both managed and unmanaged resources; false to release only unmanaged resources.

Atributos

Aplica-se a