LoadConfigurationFromFile¶
-
void IController.LoadConfigurationFromFile(string filename)¶
Load configuration from the specified XML file.
- Parameters
filename – Name of file containing XML configuration.
- Throws
NullArgumentException
– Null reference was passed.InvalidFormatException
– Invalid XML contents (see exception message for details).InvalidOperationException
– Invalid state to load XML contents (see exception message for details).ResourceBusyException
– Resource is in use and cannot be (re-)configured, e.g. updatable.OutOfResourcesException
– Insufficient resources to create requested configuration, e.g. parameter sets or matrices.AccessDeniedException
– Unable to open file for reading.ReadErrorException
– Error while reading from the specified file.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.IncompatibleException
– Incompatible firmware version loaded.System.ObjectDisposedException
– Object is disposed.