MethodInvokerAttribute 类

定义

标识一个类,该类知道如何将面向指定接口 ID 的消息映射到 clR) 接口 (粒度。

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class MethodInvokerAttribute : Orleans.CodeGeneration.GeneratedAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class MethodInvokerAttribute : Orleans.CodeGeneration.GrainSupportClassAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type MethodInvokerAttribute = class
    inherit GeneratedAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type MethodInvokerAttribute = class
    inherit GrainSupportClassAttribute
Public NotInheritable Class MethodInvokerAttribute
Inherits GeneratedAttribute
Public NotInheritable Class MethodInvokerAttribute
Inherits GrainSupportClassAttribute
继承
MethodInvokerAttribute
继承
MethodInvokerAttribute
属性

构造函数

MethodInvokerAttribute(Type, Int32)

初始化 MethodInvokerAttribute 类的新实例。

属性

InterfaceId

获取按新奥尔良分配给接口的 ID

TargetType

获取此实现应用于的类型。

(继承自 GeneratedAttribute)
TargetType

获取此实现应用于的类型。

(继承自 GrainSupportClassAttribute)

适用于