We consider a generalized stochastic epidemic on a Bernoulli random graph. By constructing the epidemic and graph in unison, the epidemic is shown to be a randomized Reed–Frost epidemic. Hence, the exact final-size distribution and extensive asymptotic results can be derived.