Bewerken

Delen via


AlwaysInterleaveAttribute Class

Definition

The AlwaysInterleaveAttribute attribute is used to mark methods that can interleave with any method, including write (non ReadOnly) requests.

[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class AlwaysInterleaveAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
[Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.AlwaysInterleave)]
public sealed class AlwaysInterleaveAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type AlwaysInterleaveAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
[<Orleans.InvokableCustomInitializer("AddInvokeMethodOptions", Orleans.CodeGeneration.InvokeMethodOptions.AlwaysInterleave)>]
type AlwaysInterleaveAttribute = class
    inherit Attribute
Public NotInheritable Class AlwaysInterleaveAttribute
Inherits Attribute
Inheritance
AlwaysInterleaveAttribute
Attributes

Remarks

Note that this attribute is applied to method declaration in the grain interface, and not to the method in the implementation class itself.

Constructors

AlwaysInterleaveAttribute()

Applies to