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
csharp
public class SendToAttribute : Attribute
Constructors
| Edit this page View SourceSendToAttribute(String[])
Initializes a new instance of the Send
Declaration
csharp
public SendToAttribute(params string[] destinations)
Parameters
Type | Name | Description |
---|---|---|
System. |
destinations | the destinations for the message created |
Properties
| Edit this page View SourceDestinations
Gets the destinations for any messages created by the method
Declaration
csharp
public virtual string[] Destinations { get; }
Property Value
Type | Description |
---|---|
System. |