Share via


MessageHandlerAttribute.Send Property

Definition

Gets or sets the types that this handler may send as messages to other executors.

public Type[]? Send { get; set; }
member this.Send : Type[] with get, set
Public Property Send As Type()

Property Value

Type[]

Remarks

Use this property to declare the message types that this handler may send via SendMessageAsync(Object, String, CancellationToken) during its execution. This information is used for protocol validation and documentation.

Applies to