IStreamContainer.GetByteArray Method

Solclient

IStreamContainerGetByteArray Method
version: 7.2.1.27
Gets the next field as a byte array.

Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
byte[] GetByteArray()
Function GetByteArray As Byte()
array<unsigned char>^ GetByteArray()

Return Value

Type: Byte
Byte array value from the stream.
Exceptions
ExceptionCondition
EndOfStreamException Thrown when the end of stream is reached.
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.
InvalidOperationException Thrown when the container is already closed.
See Also