Class FaultEntityNameAttribute
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
Specify the EntityName used for the Fault version of this message contract, overriding the configured IEntityNameFormatter if configured.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public class FaultEntityNameAttribute : Attribute
- Inheritance
-
FaultEntityNameAttribute
- Inherited Members
Constructors
FaultEntityNameAttribute(string)
public FaultEntityNameAttribute(string entityName)
Parameters
entityName
stringThe entity name to use for the faulted message type
Properties
EntityName
public string EntityName { get; }