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

将 grain 接口属性添加到 properties

适用于