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:


public virtual IDisposable RequestStart(
	MongoDatabase initialDatabase
Visual Basic
Public Overridable Function RequestStart ( _
	initialDatabase As MongoDatabase _
) As IDisposable
Visual C++
virtual IDisposable^ RequestStart(
	MongoDatabase^ 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