共用方式為


GrainInterfaceTypeAttribute 類別

定義

套用至粒紋介面時,指定 GrainInterfaceType

[System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false)]
public sealed class GrainInterfaceTypeAttribute : Attribute, Orleans.Runtime.IGrainInterfaceTypeProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false)>]
type GrainInterfaceTypeAttribute = class
    inherit Attribute
    interface IGrainInterfaceTypeProviderAttribute
Public NotInheritable Class GrainInterfaceTypeAttribute
Inherits Attribute
Implements IGrainInterfaceTypeProviderAttribute
繼承
GrainInterfaceTypeAttribute
屬性
實作

建構函式

GrainInterfaceTypeAttribute(String)

建立 GrainInterfaceTypeAttribute 執行個體。

方法

GetGrainInterfaceType(IServiceProvider, Type)

取得粒紋介面識別碼。

適用於