VersionAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 接口属性添加到 |