Table of Contents

Class ClusterBuilderExtensions

Namespace
MongoDB.Driver.Core.Configuration
Assembly
MongoDB.Driver.Core.dll

Extension methods for a ClusterBuilder.

public static class ClusterBuilderExtensions
Inheritance
ClusterBuilderExtensions
Inherited Members

Methods

ConfigureWithConnectionString(ClusterBuilder, ConnectionString)

Configures a cluster builder from a connection string.

ConfigureWithConnectionString(ClusterBuilder, ConnectionString, ServerApi)

Configures a cluster builder from a connection string.

ConfigureWithConnectionString(ClusterBuilder, string)

Configures a cluster builder from a connection string.

ConfigureWithConnectionString(ClusterBuilder, string, ServerApi)

Configures a cluster builder from a connection string.

TraceCommandsWith(ClusterBuilder, TraceSource)

Configures the cluster to trace command events to the specified traceSource.

TraceWith(ClusterBuilder, TraceSource)

Configures the cluster to trace events to the specified traceSource.