Skip to content

OrleansConstructorAttribute

class

Namespace: Orleans

Specifies the constructor the serializer should use when creating new instances from serialized data.
[System.Obsolete(Use GeneratedActivatorConstructorAttribute instead. This attribute is not recognized by Orleans.)]
public sealed class OrleansConstructorAttribute : ActivatorUtilitiesConstructorAttribute

Remarks

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

Constructors