IDestination

A destination is where an application sends messages, or it is a source from which an application receives messages, or both.

For a list of the XMS defined properties of a Destination object, see Properties of Destination.

Parent topic: .NET interfaces


.NET properties

    Summary of methods:

    Method Description
    Name Get the name of the destination.
    TypeId Get the type of the destination.


Name - Get Destination Name

    Interface:
    String Name
    {
      get;
    }
    

Get the name of the destination. The name is a string encapsulating either the name of a queue or the name of a topic.

    Exceptions:

    • XMSException


TypeId - Get Destination Type

    Interface:
    DestinationType TypeId    
    {
      get;
    }
    

Get the type of the destination. The type of the destination is one of the following values:

  • DestinationType.Queue
  • DestinationType.Topic

    Exceptions:

    • XMSException


Inherited properties and methods

The following methods are inherited from the IPropertyContext interface: