How can I implement resolution scaling AND a 2D Camera at the same time?

I got the resolution scaling down from this tutorial: The tutorial

And I made a class called Camera2D.cs from this tutorial: Other tutorial

But, in the main class(Game1.cs), in the parameters for spriteBatch.Begin() which is located in the Draw method, I can only implement either the resolution scaling or the 2d camera, and not both. :confused:

Is there a way I can implement both the 2d camera(allowing me to pan the camera and/or zoom in and out) AND have resolution scaling to fit a large resolution on a smaller screen? Thanks for your time.

Notes:

  • Iā€™m using Visual Studio 2015