10.24.0

IMapContainerAddDestination Method

Adds a IDestination instance field with the given name.

Definition

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

Parameters

name  String
Field name; cannot be null.
destination  IDestination
Destination value

Exceptions

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