IStreamContainer.AddDestination Method

Solclient

IStreamContainerAddDestination Method
version: 7.2.1.27
Adds a IDestination field to the stream.

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 AddDestination(
	IDestination destination
)
Sub AddDestination ( 
	destination As IDestination
)
void AddDestination(
	IDestination^ destination
)

Parameters

destination
Type: SolaceSystems.Solclient.MessagingIDestination
Destination value to add.
Exceptions
ExceptionCondition
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