Click or drag to resize

ClusterBuilderExtensions Class

Extension methods for a ClusterBuilder.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.Core.ConfigurationClusterBuilderExtensions

Namespace:  MongoDB.Driver.Core.Configuration
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public static class ClusterBuilderExtensions

The ClusterBuilderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConfigureWithConnectionString(ClusterBuilder, ConnectionString)
Configures a cluster builder from a connection string.
Public methodStatic memberConfigureWithConnectionString(ClusterBuilder, String)
Configures a cluster builder from a connection string.
Public methodStatic memberConfigureWithConnectionString(ClusterBuilder, ConnectionString, ServerApi)
Configures a cluster builder from a connection string.
Public methodStatic memberConfigureWithConnectionString(ClusterBuilder, String, ServerApi)
Configures a cluster builder from a connection string.
Public methodStatic memberTraceCommandsWith
Configures the cluster to trace command events to the specified traceSource.
Public methodStatic memberTraceWith
Configures the cluster to trace events to the specified traceSource.
Public methodStatic memberUsePerformanceCounters
Configures the cluster to write performance counters.
Top
See Also