# Struct NestedReadScope

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

    public readonly struct NestedReadScope : IDisposable, IAsyncDisposable

Implements
  IDisposable
  IAsyncDisposable

Inherited Members
  ValueType.Equals(object)
  ValueType.GetHashCode()
  ValueType.ToString()
  object.Equals(object, object)
  object.GetType()
  object.ReferenceEquals(object, object)

## Methods

### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    public void Dispose()

### DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

    public ValueTask DisposeAsync()

#### Returns

ValueTask

  A task that represents the asynchronous dispose operation.