Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GenerateSerializerAttribute Class

Definition

Namespace:
Orleans.CodeGeneration
Assembly:
Orleans.dll
Assembly:
Orleans.Core.Abstractions.dll
Package:
Microsoft.Orleans.Core v1.5.10
Package:
Microsoft.Orleans.Core.Abstractions v2.4.5
Package:
Microsoft.Orleans.Core.Abstractions v3.6.5
Source:
ConsiderForCodeGenerationAttribute.cs

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
GenerateSerializerAttribute
Attributes

Constructors

Name Description
GenerateSerializerAttribute(Type)

Initializes a new instance of GenerateSerializerAttribute.

Properties

Name Description
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