Redigera

Dela via


ConsiderForCodeGenerationAttribute(Type, Boolean) Constructor

Definition

Initializes a new instance of ConsiderForCodeGenerationAttribute.

protected ConsiderForCodeGenerationAttribute (Type type, bool throwOnFailure = false);
new Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute : Type * bool -> Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute
Protected Sub New (type As Type, Optional throwOnFailure As Boolean = false)

Parameters

type
Type

The type that the generator should generate code for

throwOnFailure
Boolean

When true, it will throw an exception if code cannot be generated for this type.

Applies to