If bound to a ITopicEndpoint, the returned IDestination will be of type ITopic
If bound to a IQueue, the returned IDestination will be of type IQueue
Otherwise, a null is returned
IDestination GetDestination()
OperationErrorException | Thrown when the operation fails. |
ObjectDisposedException | Thrown when the flow is already disposed (terminal state). |
FatalErrorException | Thrown when an unrecoverable error occurs. |