Class ExcludeFromTopologyAttribute
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
When added to a message type (class, record, or interface), prevents MassTransit from creating an exchange or topic on the broker for the message type when it is an inherited type (such as IMessage, IEvent, etc.).
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public class ExcludeFromTopologyAttribute : Attribute
- Inheritance
-
ExcludeFromTopologyAttribute
- Inherited Members
Constructors
ExcludeFromTopologyAttribute()
public ExcludeFromTopologyAttribute()