Class MongoServerResolverNotConfigured
The exception that is thrown when the IMongoServerResolver is missing.
public class MongoServerResolverNotConfigured : Exception, ISerializable
- Inheritance
-
MongoServerResolverNotConfigured
- Implements
- Inherited Members
Constructors
MongoServerResolverNotConfigured(string)
The exception that is thrown when the IMongoServerResolver is missing.
public MongoServerResolverNotConfigured(string message)
Parameters
messagestringThe additional message of the error.
Methods
ThrowIfNotConfigured(Type?)
Throw if not configured.
public static void ThrowIfNotConfigured(Type? resolver)
Parameters
resolverTypeThe resolver value to check.
Exceptions
- MongoServerResolverNotConfigured
Thrown if the resolver is not configured.