共用方式為


VersionAttribute 類別

定義

VersionAttribute 允許指定介面的版本號碼

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

建構函式

VersionAttribute(UInt16)

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

屬性

Version

取得版本。

明確介面實作

IGrainInterfacePropertiesProviderAttribute.Populate(IServiceProvider, Type, Dictionary<String,String>)

將粒紋介面屬性新增至 properties

適用於