Solclient
IMapContainerAddSDTContainer Method |
Adds a ISDTContainer field with the given name to this map container.
Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
void AddSDTContainer( string name, ISDTContainer container )
Sub AddSDTContainer ( name As String, container As ISDTContainer )
void AddSDTContainer( String^ name, ISDTContainer^ container )
Parameters
- name
- Type: SystemString
Field name; cannot be null. - container
- Type: SolaceSystems.Solclient.Messaging.SDTISDTContainer
ISDTContainer to add
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the container is already closed. |
ArgumentNullException | Thrown when name or container parameter is null |
OperationErrorException | Thrown when an error occurs. In this case ReturnCode and SDKErrorInfo are accessible from OperationErrorException and contain more information. |
FatalErrorException | Thrown when an unrecoverable error occurs. |
ArgumentNullException | Thrown when container is null. |
See Also