Class SendToAttribute
Attribute that indicates a method's return value should be converted to a message if necessary and sent to the specified destination.
Inheritance
System.Object
SendToAttribute
Namespace: Steeltoe.Messaging.Handler.Attributes
Assembly: Steeltoe.Messaging.Abstractions.dll
Syntax
public class SendToAttribute : Attribute
Constructors
| Edit this page View SourceSendToAttribute(String[])
Initializes a new instance of the SendToAttribute class.
Declaration
public SendToAttribute(params string[] destinations)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | destinations | the destinations for the message created |
Properties
| Edit this page View SourceDestinations
Gets the destinations for any messages created by the method
Declaration
public virtual string[] Destinations { get; }
Property Value
Type | Description |
---|---|
System.String[] |