Solclient
| IMapContainerAddBool Method |
Adds a bool field with the given name.
Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntaxvoid AddBool( string name, bool value )
Sub AddBool ( name As String, value As Boolean )
void AddBool( String^ name, bool value )
Parameters
- name
- Type: SystemString
Field name; cannot be null. - value
- Type: SystemBoolean
Field Value
Exceptions| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the input parameter is null. |
| InvalidOperationException | Thrown when the container is already closed. |
| 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. |
See Also