Edit

Share via


ReturnValueProxyAttribute Class

Definition

Applied to invokable base types (see TaskRequest) to indicate that instances of derived types should be returned directly from generated proxy methods rather than being passed to the runtime for invocation. This is used to support calling patterns other than request-response, such as streaming.

C#
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class ReturnValueProxyAttribute : Attribute
Inheritance
ReturnValueProxyAttribute
Attributes

Constructors

Properties

InitializerMethodName

The name of the method to

Applies to

Product Versions
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0