10.27.03

IMapContainerGetDestination Method

Gets the field with the given name as a IDestination.

Definition

Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
C#
IDestination GetDestination(
	string name
)

Parameters

name  String
Field name; cannot be null.

Return Value

IDestination
Destination field value

Exceptions

FieldNotFoundException When no such field with the given name.
OperationErrorException Thrown when one of the following occurs: there is no such field with the given name or it is an invalid data conversion. 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