AddParameterSet¶
-
virtual void IApplyParameterSet::AddParameterSet(PParameterSet parameterSet) = 0¶
Add the given parameter set to the collection of parameter sets to be applied in the context of the command.
- Parameters
parameterSet – Parameter set to add to the collection of parameter sets associated with this response.
- Throws
CNullArgumentException– Empty pointer was passed.CUnknownObjectException– Set is not related to controller or axis control where command is configured.CInvalidConfigException– Applying provided parameter set is not supported. See product specific documentation.CUnsupportedException– Collection cannot be modified.CInvalidOperationException– Command state not “Idle”.COutOfResourcesException– Maximum number of parameter sets reached.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
Adding a parameter set that is already part of the collection has no effect on the collection.