Bagikan melalui


OneWayAttribute Kelas

Definisi

Menunjukkan bahwa metode pada antarmuka grain adalah satu arah dan tidak ada pesan respons yang akan dikirim ke pemanggil.

[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
Warisan
OneWayAttribute
Atribut

Konstruktor

OneWayAttribute()

Menunjukkan bahwa metode pada antarmuka grain adalah satu arah dan tidak ada pesan respons yang akan dikirim ke pemanggil.

Berlaku untuk