Edit

Share via


OrleansConstructorAttribute Class

Definition

Specifies the constructor the serializer should use when creating new instances from serialized data.

C#
[System.AttributeUsage(System.AttributeTargets.Constructor)]
public sealed class OrleansConstructorAttribute : Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute
Inheritance
OrleansConstructorAttribute
Attributes

Remarks

At most one constructor can be annotated with this attribute. If multiple constructors are annotated, the presence of this attribute is ignored.

Constructors

OrleansConstructorAttribute()

Initializes a new instance of the OrleansConstructorAttribute class.

Applies to

Product Versions
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0

See also