Class MessageNameAttribute
Overrides the logical message name used for broker-level contract identification.
Inherited Members
Namespace: Chapar.Core.Attributes
Assembly: Chapar.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, Inherited = false)]
public sealed class MessageNameAttribute : Attribute
Constructors
| Edit this page View SourceMessageNameAttribute(string)
Initializes a new instance of the MessageNameAttribute class.
Declaration
public MessageNameAttribute(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The stable logical message name. |
Properties
| Edit this page View SourceName
Gets the stable logical message name.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |