IMapContainer.AddDestination Method

Solclient

IMapContainerAddDestination Method
version: 7.2.1.27
Adds a IDestination instance 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)
Syntax
void AddDestination(
	string name,
	IDestination destination
)
Sub AddDestination ( 
	name As String,
	destination As IDestination
)
void AddDestination(
	String^ name, 
	IDestination^ destination
)

Parameters

name
Type: SystemString
Field name; cannot be null.
destination
Type: SolaceSystems.Solclient.MessagingIDestination
Destination value
Exceptions
ExceptionCondition
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