共用方式為


ReturnValueProxyAttribute 類別

定義

套用至可叫用基底類型 (請參閱 TaskRequest) ,以指出衍生類型的實例應該直接從產生的 Proxy 方法傳回,而不是傳遞至運行時間以進行調用。 這可用來支援要求-回應以外的呼叫模式,例如串流。

[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
繼承
ReturnValueProxyAttribute
屬性

建構函式

ReturnValueProxyAttribute(String)

套用至可叫用基底類型 (請參閱 TaskRequest) ,以指出衍生類型的實例應該直接從產生的 Proxy 方法傳回,而不是傳遞至運行時間以進行調用。 這可用來支援要求-回應以外的呼叫模式,例如串流。

屬性

InitializerMethodName

要的方法名稱

適用於