GenerateSerializerAttribute Class
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.
The attribute which informs the code generator that code should be generated for this type. Forces generation of type serializer, throwing if a serializer could not be generated.
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class GenerateSerializerAttribute : Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type GenerateSerializerAttribute = class
inherit ConsiderForCodeGenerationAttribute
Public NotInheritable Class GenerateSerializerAttribute
Inherits ConsiderForCodeGenerationAttribute
- Inheritance
- Attributes
Constructors
GenerateSerializerAttribute(Type) |
Initializes a new instance of GenerateSerializerAttribute. |
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) |