Class ExchangeType
Convenience class providing compile-time names for standard exchange types.
public static class ExchangeType
- Inheritance
-
ExchangeType
- Inherited Members
Remarks
Use the static members of this class as values for the "exchangeType" arguments for IChannel methods such as ExchangeDeclare. The broker may be extended with additional exchange types that do not appear in this class.
Fields
Direct
Exchange type used for AMQP direct exchanges.
public const string Direct = "direct"
Field Value
Fanout
Exchange type used for AMQP fanout exchanges.
public const string Fanout = "fanout"
Field Value
Headers
Exchange type used for AMQP headers exchanges.
public const string Headers = "headers"
Field Value
Topic
Exchange type used for AMQP topic exchanges.
public const string Topic = "topic"
Field Value
Methods
All()
Retrieve a collection containing all standard exchange types.
public static ICollection<string> All()