Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AlwaysInterleaveAttribute Class

Definition

Namespace:
Orleans.Concurrency
Assembly:
Orleans.dll
Assembly:
Orleans.Core.Abstractions.dll
Package:
Microsoft.Orleans.Core v1.5.10
Package:
Microsoft.Orleans.Core.Abstractions v10.0.0
Package:
Microsoft.Orleans.Core.Abstractions v2.4.5
Package:
Microsoft.Orleans.Core.Abstractions v3.6.5
Package:
Microsoft.Orleans.Core.Abstractions v7.2.5
Package:
Microsoft.Orleans.Core.Abstractions v8.0.0
Package:
Microsoft.Orleans.Core.Abstractions v8.1.0
Package:
Microsoft.Orleans.Core.Abstractions v8.2.0
Package:
Microsoft.Orleans.Core.Abstractions v9.0.0
Package:
Microsoft.Orleans.Core.Abstractions v9.1.2
Source:
GrainAttributeConcurrency.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
AlwaysInterleaveAttribute()

Applies to