Edit

Share via


KnownTypeAttribute Class

Definition

The attribute which informs the code generator that code should be generated for this type.

[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
Inheritance
Attributes

Constructors

KnownTypeAttribute(Type)

Initializes a new instance of KnownAssemblyAttribute.

Properties

ThrowOnFailure

Gets a value indicating whether or not to throw if code was not generated for the specified type.

(Inherited from ConsiderForCodeGenerationAttribute)
Type

Gets the type which should be considered for code generation.

(Inherited from ConsiderForCodeGenerationAttribute)

Applies to