Electron-Probe Measurements near Phase Boundaries