Method ThrowIfNotValid NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll ThrowIfNotValid() Validate model. public override void ThrowIfNotValid()