LoadContentsFromFile¶
-
void IUpdatable.LoadContentsFromFile(string filename)¶
Sets the contents of the updatable to the contents of the specified file.
- Parameters
filename – Name of file containing the new updatable contents.
- Throws
NullArgumentException
– Null reference was passed.InvalidConfigException
– File too small for this updatable.UnsupportedException
– Setting updatable contents not supported (see product specific documentation).ResourceBusyException
– Entity is already busy with a transfer.OutOfResourcesException
– File too large for this updatable.AccessDeniedException
– Unable to open file for reading.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.