[This is preliminary documentation and is subject to change.]
The Connection type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Connection | Initializes a new instance of the Connection class |
Methods
Name | Description | |
---|---|---|
![]() | __setComponentDirector | (Inherited from ApplicationComponent.) |
![]() | Count | |
![]() | Delete | |
![]() | Destructor | (Overrides ApplicationComponent Destructor .) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | Drop | |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | Find | |
![]() | FindOne | |
![]() | GetCollectionNames | |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | GetMore | |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | Insert | |
![]() | KillCursor | |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | Ping | |
![]() | Release |
Releases the connection that has been acquired before
|
![]() | RunCommand | |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | TryAcquire |
Returns true when the instance was able to get acquired by the calling thread for the exclusive use
|
![]() | Update |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | DEFAUL_LOCAL_NODE | |
![]() ![]() | DEFAULT_LOCAL_MONGO_HOST | |
![]() ![]() | DEFAULT_MONGO_BINDING | |
![]() ![]() | DEFAULT_MONGO_PORT | |
![]() | m_ExpirationStartUTC |
Properties
Name | Description | |
---|---|---|
![]() | ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from ApplicationComponent.) |
![]() | ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from ApplicationComponent.) |
![]() | ComponentSID |
Returns process/instance unique app component system id
(Inherited from ApplicationComponent.) |
![]() | ComponentStartTime |
Returns local computer time of component start (not from application container time)
(Inherited from ApplicationComponent.) |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | ExpirationStartUTC |
Returns when the connection started to expire for its inactivity or null
|
![]() | IsAcquired | |
![]() | Server |
See Also