MemoryPool<T>.Dispose MemoryPool<T>.Dispose MemoryPool<T>.Dispose MemoryPool<T>.Dispose Method

Definition

Overloads

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

Frees all resources used by the memory pool.

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

Frees the unmanaged resources used by the memory pool and optionally releases the managed resources.

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

Frees all resources used by the memory pool.

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

Implements

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

Frees the unmanaged resources used by the memory pool and optionally releases the managed resources.

protected:
 abstract void Dispose(bool disposing);
protected abstract void Dispose (bool disposing);
abstract member Dispose : bool -> unit
Protected MustOverride Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean Boolean Boolean Boolean

true to release both managed and unmanaged resources; to release only unmanaged resources.

Applies to