Share via


LogConsistencyProviderAttribute 클래스

정의

[Orleans.Providers.LogConsistencyProvider] 특성은 로그 보기 상태 추상화를 사용하여 조직에 사용할 일관성 공급자를 정의하는 데 사용됩니다.

JournaledGrain과 같은 LogConsistentGrain에서 파생되는 모든 조직에 [Orleans.Providers.LogConsistencyProvider] 속성을 지정하는 것이 좋습니다. [Orleans.Providers.LogConsistencyProvider] 특성이 지정되지 않은 경우 런타임은 다음과 같이 하나를 찾으려고 시도합니다. 먼저 구성 파일에서 "기본값" 공급자를 찾은 다음 조직 형식이 기본값을 정의하는지 확인합니다. 이 조직에 대해 일관성 공급자를 배치할 수 없는 경우 조직은 사일로에 로드되지 않습니다.

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class LogConsistencyProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type LogConsistencyProviderAttribute = class
    inherit Attribute
Public NotInheritable Class LogConsistencyProviderAttribute
Inherits Attribute
상속
LogConsistencyProviderAttribute
특성

생성자

LogConsistencyProviderAttribute()

LogConsistencyProviderAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

ProviderName

일관성에 사용할 공급자의 이름을 가져오거나 설정합니다.

적용 대상