다음을 통해 공유


KnownTypeAttribute 클래스

정의

이 형식에 대해 코드를 생성해야 한다고 코드 생성기에 알리는 특성입니다.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class KnownTypeAttribute : Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type KnownTypeAttribute = class
    inherit ConsiderForCodeGenerationAttribute
Public NotInheritable Class KnownTypeAttribute
Inherits ConsiderForCodeGenerationAttribute
상속
특성

생성자

KnownTypeAttribute(Type)

KnownAssemblyAttribute의 새 인스턴스를 초기화합니다.

속성

ThrowOnFailure

지정된 형식에 대해 코드가 생성되지 않은 경우 throw할지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConsiderForCodeGenerationAttribute)
Type

코드 생성에 대해 고려해야 하는 형식을 가져옵니다.

(다음에서 상속됨 ConsiderForCodeGenerationAttribute)

적용 대상