ComposablePartCatalog.Dispose ComposablePartCatalog.Dispose ComposablePartCatalog.Dispose ComposablePartCatalog.Dispose Method

Definición

Libera los recursos que usa ComposablePartCatalog.Releases the resources used by the ComposablePartCatalog.

Sobrecargas

Dispose() Dispose() Dispose() Dispose()

Libera todos los recursos que usa ComposablePartCatalog.Releases all resources used by the ComposablePartCatalog.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Libera los recursos no administrados que usa ComposablePartCatalog y, de forma opcional, libera los recursos administrados.Releases the unmanaged resources used by the ComposablePartCatalog and optionally releases the managed resources.

Dispose() Dispose() Dispose() Dispose()

Libera todos los recursos que usa ComposablePartCatalog.Releases all resources used by the ComposablePartCatalog.

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

Implementaciones

Comentarios

Llame a Dispose cuando haya terminado de usar ComposablePartCatalog.Call Dispose when you are finished using the ComposablePartCatalog. El método Dispose deja el ComposablePartCatalog en un estado no utilizable.The Dispose method leaves the ComposablePartCatalog in an unusable state. Después de Disposellamar a, debe liberar todas las referencias ComposablePartCatalog a para que el recolector de elementos ComposablePartCatalog no utilizados pueda reclamar la memoria que ocupaba.After calling Dispose, you must release all references to the ComposablePartCatalog so the garbage collector can reclaim the memory that the ComposablePartCatalog was occupying.

Para obtener más información, vea limpiar recursos no administrados e implementar un método Dispose.For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

Nota

Realice siempre una llamada a Dispose antes de liberar la última referencia al objeto ComposablePartCatalog.Always call Dispose before you release your last reference to the ComposablePartCatalog. En caso contrario, los recursos que está usando no se liberarán hasta que el recolector de elementos no utilizados llame al método ComposablePartCatalog del objeto Finalize.Otherwise, the resources it is using will not be freed until the garbage collector calls the ComposablePartCatalog object's Finalize method.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Libera los recursos no administrados que usa ComposablePartCatalog y, de forma opcional, libera los recursos administrados.Releases the unmanaged resources used by the ComposablePartCatalog and optionally releases the managed 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 Boolean Boolean Boolean

Es true para liberar tanto recursos administrados como no administrados; es false para liberar únicamente recursos no administrados.true to release both managed and unmanaged resources; false to release only unmanaged resources.

Se aplica a