Edytuj

Udostępnij za pośrednictwem


OrleansConstructorAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Constructor)]
public sealed class OrleansConstructorAttribute : Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute
[<System.AttributeUsage(System.AttributeTargets.Constructor)>]
type OrleansConstructorAttribute = class
    inherit ActivatorUtilitiesConstructorAttribute
Public NotInheritable Class OrleansConstructorAttribute
Inherits 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

See also