CreateProcessingBlock¶
-
IProcessingBlock IController.CreateProcessingBlock(string name, ITemplate template)¶
Creates a processing block with the specified name, using the specified template.
- Parameters
name – Name of the processing block.
template – Template used to create the processing block.
- Returns
IProcessingBlock – Created processing block.
- Throws
InvalidArgumentException
– Invalid name specified.InvalidArgumentException
– Specified template is not of type TemplateType.ProcessingBlock.UnknownObjectException
– Template is unknown, belongs to an other controller.InvalidConfigException
– Invalid template definition.UnsupportedException
– Processing blocks are not supported.InvalidOperationException
– Processing block can not be created while top-controller state is not “Config”.OutOfResourcesException
– Maximum number of processing blocks exceeded.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.