Table of Contents

Constructor WrappingCoreSession

Namespace
MongoDB.Driver.Core.Bindings
Assembly
MongoDB.Driver.dll

WrappingCoreSession(ICoreSession, bool)

Initializes a new instance of the WrappingCoreSession class.

public WrappingCoreSession(ICoreSession wrapped, bool ownsWrapped)

Parameters

wrapped ICoreSession

The wrapped.

ownsWrapped bool

if set to true [owns wrapped].