Share via


AlwaysInterleaveAttribute 類別

定義

AlwaysInterleaveAttribute 屬性可用來標記可以與任何方法交錯的方法,包括寫入 (非 ReadOnly) 要求。

[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
繼承
AlwaysInterleaveAttribute
屬性

備註

請注意,這個屬性會套用至粒度介面中的方法宣告,而不是套用至實作類別本身中的方法。

建構函式

AlwaysInterleaveAttribute()

AlwaysInterleaveAttribute 屬性可用來標記可以與任何方法交錯的方法,包括寫入 (非 ReadOnly) 要求。

適用於