Table of Contents

Class SendToAttribute

Namespace
Steeltoe.Messaging.Handler.Attributes
Assembly
Steeltoe.Messaging.Abstractions.dll

Attribute that indicates a method's return value should be converted to a message if necessary and sent to the specified destination.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false)]
public class SendToAttribute : Attribute
Inheritance
SendToAttribute
Inherited Members

Constructors

SendToAttribute(params string[])

Initializes a new instance of the SendToAttribute class.

public SendToAttribute(params string[] destinations)

Parameters

destinations string[]

the destinations for the message created

Properties

Destinations

Gets the destinations for any messages created by the method

public virtual string[] Destinations { get; }

Property Value

string[]