MessageHandlerAttribute.Yield Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the types that this handler may yield as workflow outputs.
public Type[]? Yield { get; set; }
member this.Yield : Type[] with get, set
Public Property Yield As Type()
Property Value
Remarks
If not specified, the return type (if any) is used as the default yield type. Use this property to explicitly declare additional output types or to override the default inference from the return type.