Solclient
| IMapContainerAddByteArray Method |
Adds a byte array 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 AddByteArray( string name, byte[] values )
Sub AddByteArray ( name As String, values As Byte() )
void AddByteArray( String^ name, array<unsigned char>^ values )
Parameters
- name
- Type: SystemString
Field name; cannot be null. - values
- Type: SystemByte
Byte array values
Exceptions| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when 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