ConsiderForCodeGenerationAttribute(Type, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.