diff --git a/ATxCommon/Serializables/ServiceConfig.cs b/ATxCommon/Serializables/ServiceConfig.cs index 98cd024f568eff75b96f03d25f4daf269b8690f5..9cfffd6f91d6a87b6fd4b84ebf90f63ed88af107 100644 --- a/ATxCommon/Serializables/ServiceConfig.cs +++ b/ATxCommon/Serializables/ServiceConfig.cs @@ -24,6 +24,9 @@ namespace ATxCommon.Serializables EnforceInheritedACLs = true; } + /// <summary> + /// Dummy method raising an exception (this class must not be serialized). + /// </summary> public static void Serialize(string file, ServiceConfig c) { // the config is never meant to be written by us, therefore: throw new SettingsPropertyIsReadOnlyException("The config file must not be written by the service!");