Lets the server know that this thread is about to begin a series of related operations that must all occur on the same connection. The return value of this method implements IDisposable and can be placed in a using statement (in which case RequestDone will be called automatically when leaving the using statement).

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 1.0.0.4098

Syntax

C#
public virtual IDisposable RequestStart(
	MongoDatabase initialDatabase
)
Visual Basic
Public Overridable Function RequestStart ( _
	initialDatabase As MongoDatabase _
) As IDisposable
Visual C++
public:
virtual IDisposable^ RequestStart(
	MongoDatabase^ initialDatabase
)

Parameters

initialDatabase
Type: MongoDB.Driver..::..MongoDatabase
One of the databases involved in the related operations.

Return Value

A helper object that implements IDisposable and calls RequestDone()()()() from the Dispose method.

See Also