10.24.0

IStreamContainerAddDestination Method

Adds a IDestination field to the stream.

Definition

Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.24.0
C#
void AddDestination(
	IDestination destination
)

Parameters

destination  IDestination
Destination value to add.

Exceptions

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.
ArgumentNullException Thrown when value is null.

See Also