OrleansConstructorAttribute 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.
Caution
Use GeneratedActivatorConstructorAttribute instead. This attribute is not recognized by Orleans.
Specifies the constructor the serializer should use when creating new instances from serialized data.
[System.AttributeUsage(System.AttributeTargets.Constructor)]
[System.Obsolete("Use GeneratedActivatorConstructorAttribute instead. This attribute is not recognized by Orleans.")]
public sealed class OrleansConstructorAttribute : Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute
[System.AttributeUsage(System.AttributeTargets.Constructor)]
public sealed class OrleansConstructorAttribute : Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute
[<System.AttributeUsage(System.AttributeTargets.Constructor)>]
[<System.Obsolete("Use GeneratedActivatorConstructorAttribute instead. This attribute is not recognized by Orleans.")>]
type OrleansConstructorAttribute = class
inherit 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
| Name | Description |
|---|---|
| OrleansConstructorAttribute() |
Initializes a new instance of the OrleansConstructorAttribute class. |