LoadConfiguration¶
-
void IController.LoadConfiguration(string xml, System.Collections.Generic.IReadOnlyDictionary<string, string> variants)¶
Load configuration from the specified XML string, after processing selected variants.
- Parameters
xml – String containing XML configuration.
variants – Selected variants, use variant name as key and value as value.
- 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.IncompatibleException– Incompatible firmware version loaded.System.ObjectDisposedException– Object is disposed.