Redigera

Dela 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.

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class ReturnValueProxyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type ReturnValueProxyAttribute = class
    inherit Attribute
Public NotInheritable Class ReturnValueProxyAttribute
Inherits Attribute
Inheritance
ReturnValueProxyAttribute
Attributes

Constructors

ReturnValueProxyAttribute(String)

Properties

InitializerMethodName

The name of the method to

Applies to