public void OnSerializing(System.Runtime.Serialization.StreamingContext context) { staticBox = new SolutionStaticBox(); staticBox._bitMobileServerId = _bitMobileServerId; staticBox._rootFolder = _rootFolder; staticBox._dbServer = _dbServer; staticBox._isAzured = _isAzured; staticBox._rootPassword = _rootPassword; }