It is given a characterization theorem for the shape continuity of the solution of a Dirichlet problem (gamma-convergence) in terms of the geometric behavior of the moving domain. A sequence of open sets gamma converges to an open set if and only if two different local capacities are lower respectively upper semi continuous.