共用方式為


MayInterleaveAttribute 類別

定義

MayInterleaveAttribute 屬性可用來標記想要透過提供的方法回呼控制要求交錯的類別。

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class MayInterleaveAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class MayInterleaveAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type MayInterleaveAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type MayInterleaveAttribute = class
    inherit Attribute
    interface IGrainPropertiesProviderAttribute
Public NotInheritable Class MayInterleaveAttribute
Inherits Attribute
Public NotInheritable Class MayInterleaveAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
繼承
MayInterleaveAttribute
屬性
實作

備註

回呼方法名稱應該指向在相同類別上宣告且具有下列簽章的公用靜態函式: public static bool MayInterleave(IInvokable req)

建構函式

MayInterleaveAttribute(String)

初始化 MayInterleaveAttribute 類別的新執行個體。

方法

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

將粒度屬性加入至 properties

適用於