Edit

Share via


OneWayAttribute Class

Definition

Indicates that a method on a grain interface is one-way and that no response message will be sent to the caller.

[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
Inheritance
OneWayAttribute
Attributes

Constructors

OneWayAttribute()

Applies to