ClusterBuilder Class |
Namespace: MongoDB.Driver.Core.Configuration
The ClusterBuilder type exposes the following members.
Name | Description | |
---|---|---|
ClusterBuilder |
Initializes a new instance of the ClusterBuilder class.
|
Name | Description | |
---|---|---|
BuildCluster |
Builds the cluster.
| |
ConfigureCluster |
Configures the cluster settings.
| |
ConfigureConnection |
Configures the connection settings.
| |
ConfigureConnectionPool |
Configures the connection pool settings.
| |
ConfigureServer |
Configures the server settings.
| |
ConfigureSsl |
Configures the SSL stream settings.
| |
ConfigureTcp |
Configures the TCP stream settings.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterStreamFactory |
Registers a stream factory wrapper.
| |
Subscribe(IEventSubscriber) |
Subscribes the specified subscriber.
| |
SubscribeTEvent(ActionTEvent) |
Subscribes to events of type TEvent.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ConfigureWithConnectionString(String) | Overloaded.
Configures a cluster builder from a connection string.
(Defined by ClusterBuilderExtensions.) | |
ConfigureWithConnectionString(ConnectionString) | Overloaded.
Configures a cluster builder from a connection string.
(Defined by ClusterBuilderExtensions.) | |
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) | |
TraceCommandsWith |
Configures the cluster to trace command events to the specified traceSource.
(Defined by ClusterBuilderExtensions.) | |
TraceWith |
Configures the cluster to trace events to the specified traceSource.
(Defined by ClusterBuilderExtensions.) | |
UsePerformanceCounters |
Configures the cluster to write performance counters.
(Defined by ClusterBuilderExtensions.) |