2 rail sweep

How do i go about sweeping a shape across 2 rails?  Please see photo.  In my mind it should be a two rail sweep.  Maybe i am not thinking of the correct command.

SolidworksModeling And Assemblies