Share via


OneWayAttribute 類別

定義

表示細微性介面上的方法是單向的,而且不會將任何回應訊息傳送給呼叫端。

[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class OneWayAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
[Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.OneWay)]
public sealed class OneWayAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type OneWayAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
[<Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.OneWay)>]
type OneWayAttribute = class
    inherit Attribute
Public NotInheritable Class OneWayAttribute
Inherits Attribute
繼承
OneWayAttribute
屬性

建構函式

OneWayAttribute()

表示細微性介面上的方法是單向的,而且不會將任何回應訊息傳送給呼叫端。

適用於