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>)

将 grain 属性添加到 properties

适用于