다음을 통해 공유


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추가합니다.

적용 대상